how writ program struct in c++ for studint (name leval .....? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how writ program struct in c++ for studint (name leval .....?

13th Nov 2019, 8:41 AM
علي علب
علي علب - avatar
11 Answers
+ 2
Refer to C++ tutorial.
15th Nov 2019, 3:07 AM
Sonic
Sonic - avatar
+ 1
Your question is not clear.
13th Nov 2019, 10:33 AM
Avinesh
Avinesh - avatar
13th Nov 2019, 11:39 AM
Avinesh
Avinesh - avatar
0
wait .ok?
13th Nov 2019, 10:42 AM
علي علب
علي علب - avatar
0
how do I write struct For studentsThey have10 data like nummber .name.level.cases.......?
13th Nov 2019, 10:54 AM
علي علب
علي علب - avatar
0
In C++?
13th Nov 2019, 11:10 AM
Avinesh
Avinesh - avatar
0
yas in c++
13th Nov 2019, 11:12 AM
علي علب
علي علب - avatar
0
Create a class student, declare all the variables inside and then go to the main method and create an object of that class and assign it the values you declared in the class.
13th Nov 2019, 11:15 AM
Avinesh
Avinesh - avatar
0
ok so Where will I register the students before int main?
13th Nov 2019, 11:22 AM
علي علب
علي علب - avatar
0
Shall I show you with 3 variables and later you can add the rest?
13th Nov 2019, 11:24 AM
Avinesh
Avinesh - avatar
0
yes
13th Nov 2019, 11:34 AM
علي علب
علي علب - avatar