0
5.0kviews
Write a program to accept marks of five student using array and print it out in ascending order
1 Answer
| written 4.0 years ago by | • modified 4.0 years ago |
#include<stdio.h>
#include<conio.h>
struct student
{
int Roll_No,Marks;
char Fname[25];
}stud[100],t;
void main()
{
int i,j,n;
printf("Enter how many students?\n");
scanf("%d",&n);
printf("enter students information in the sequence of Roll Numbers, First Names and Marks\n");
// Take Students' information from the user …