Conversion c code to vb

Hai this is praveen, I'm using cobo collect in that I have one problem with one Lable that I want to make it easy in below formate
enter Number of teachers
enter teacher name: Praveen
enter teacher name: Raghu
like this format but I am not getting,
I have a c programming code for my data. I have to convert this code into vb. How can I convert it
the code is:

struct teachers
    char name[20] ;
 } s[20] ;
void main()
  int i,n;
n={Number of teachers with whom subject manuals shared};
i={teacher name};    

    for(i = 0 ; i < n ; i++)
        printf("\nEnter teacher name : ") ;
        scanf("%s", s[i].name) ;
    printf("\nName \n") ;
    for(i = 0 ; i < n ; i++)
        printf(" %s \n",s[i].name);

This is not right plateform for this question.


I’m closing this topic because it doesn’t really have anything to do with ODK. If you have a specific question about ODK, please open another topic.


Hi @praveen_nmore, for KoBo Toolbox specific questions, you will probably have better luck on their support pages or help pages.