C++ program to Store information of 10 students using structure

Store information of 10 students using Structure

In this example, you will learn to make  a C++ program to Store information of 10 students using structures.

Example of C++ program to Store information of 10 students using structure

Output

Enter name, Roll No, Marks of student 1 => ajay 1 78

Enter name, Roll No, Marks of student 2 => kishan 2 67

Enter name, Roll No, Marks of student 3 => aliya 3 92

Enter name, Roll No, Marks of student 4 => rohan 4 85

Enter name, Roll No, Marks of student 5 => kartik 5 78

Enter name, Roll No, Marks of student 6 => rohan 6 94

Enter name, Roll No, Marks of student 7 => rajiv 7 82

Enter name, Roll No, Marks of student 8 => tanishq 8 69

Enter name, Roll No, Marks of student 9 => neha 9 72

Enter name, Roll No, Marks of student 10 => divyansh 10 89

Print data Record……
Name: ajay
Roll: 1
Marks: 78
Name: kishan
Roll: 2
Marks: 67
Name: aliya
Roll: 3
Marks: 92
Name: rohan
Roll: 4
Marks: 85
Name: kartik
Roll: 5
Marks: 78
Name: rohan
Roll: 6
Marks: 94
Name: rajiv
Roll: 7
Marks: 82
Name: tanishq
Roll: 8
Marks: 69
Name: neha
Roll: 9
Marks: 72
Name: divyansh
Roll: 10
Marks: 89

 

 

 

Check out our other C++ programming Examples

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top