0
5.0kviews
Write a program to accept marks of five student using array and print it out in ascending order
1 Answer
1
168views

C Program that show marks of students in Ascending Order

#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 …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.