While certainly possible, this is not a practical method of recording this data. Suppose the program needed to record 100 scores? 100 variables would be required! Note - some programming languages ...
/*Write a C program to take input from the user and store them in an array. Then display the array elements in the same order as entered.
printf("1)Roll no.:%d\n 2)Name:%s\n 3)id:%d\n 4)Marks:%d\n", s1[i].roll_no,s1[i].name,s1[i].id,s1[i].marks); ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results