simple structure program in C

order roll number using structure program in C

Program:-



Click here download source code

Output:-

Enter no. of students
4
Enter rollno,name,marks

Rollno:2

Name:sachin

Marks:95

Rollno:4

Name:manjunath

Marks:85

Rollno:1

Name:sneha

Marks:78

Rollno:3

Name:sujata

Marks:49
Rollnowise list
------------------
Rollno=1
Name:sachin
Marks=95.000000

Rollno=2
Name:manjunath
Marks=85.000000

Rollno=3
Name:sneha
Marks=78.000000

Rollno=4
Name:sujata
Marks=49.000000

Leave reply

Add your comments here

Back to Top