#include
for(i = 0; i < num_students; i ++){ sort(student[i]); } That's what you get when you're that specific!
Write a program to find the grade obtained by the students of a class
Create a data structure to store the details for each student: typedef struct student_t { char name[30]; unsigned age; unsigned mark; } student; Establish an array to store the student data: size_t max = 100; // replace 100 with the actual number of students student students[max]; Use a loop to enter the data: for (size_t i=0; i<max; ++i) { printf ("Student name: "); scanf ("%s", students[i].name); printf ("Student age: "); scanf ("%u", students[i].age); printf ("Student mark: "); scanf ("%u", students[i].mark); } Calculate and display the average mark: unsigned sum = 0; for (size_t i=0; i<max; ++i) sum += student[i].mark; printf ("Average mark: %d\n", sum / max_students);
write a program which reads names of students and their telephones from a file and produce a linked list ordered in alphabetical order by the surname of the student.
write a c program to display marks,total,average,grade using union
for(i = 0; i < num_students; i ++){ sort(student[i]); } That's what you get when you're that specific!
Write a program to find the grade obtained by the students of a class
No, you can use a decision structure to test a condition in any part of the program and execute some action based on the outcome but you cannot use a decision structure alone to write a complete program.
Create a data structure to store the details for each student: typedef struct student_t { char name[30]; unsigned age; unsigned mark; } student; Establish an array to store the student data: size_t max = 100; // replace 100 with the actual number of students student students[max]; Use a loop to enter the data: for (size_t i=0; i<max; ++i) { printf ("Student name: "); scanf ("%s", students[i].name); printf ("Student age: "); scanf ("%u", students[i].age); printf ("Student mark: "); scanf ("%u", students[i].mark); } Calculate and display the average mark: unsigned sum = 0; for (size_t i=0; i<max; ++i) sum += student[i].mark; printf ("Average mark: %d\n", sum / max_students);
write a program which reads names of students and their telephones from a file and produce a linked list ordered in alphabetical order by the surname of the student.
write a c program to display marks,total,average,grade using union
To write a C++ program to display the student details using class and array of object.
Write a C program to read the internal test marks of 25 students in a class and show the number of students who have scored more than 50% in the test. Make necessary assumptions
Write a console based C++ program that reads student information from a text file, build an array of objects of type class StudentInfo,
Yes students do like to write.
A college English course usually teaches students about sentence structure. These classes help students write better sentences and have an extensive vocabulary.
Write her name, age , place of the recital , what dance and to what music she performed, and the names of any students that accompanied her in the performance.