import java.io.*;
class summ
{
public static void main()throws IOException
{
BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
int a[]=new int[10];
int sum=0;
float avg=0;
for(int i=0;i<10;i++)
{
System.out.println("Enter marks of student "+(i+1)+" : ");
a[i]=Integer.parseInt(in.readLine());
sum+=a[i];
avg=sum;
}
avg/=10;
System.out.print("Sum= "+sum+"\nAverage= "+avg);
}
}
write a c program to display marks,total,average,grade using union
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);
not sure but this sure that the rank is certainly gonna be more than the one who has scored 40 marks :)
You can show multiple inheritance by inheriting student details like name ,Admission number ,Parents name, address and other information from a school class and then also inherit his marks detail from the his Class's class like Grade 3rd . You will get his marks information from there. Then go forward and make functions to calculate the average marks and display the details.
Surround the name of the program in quotation marks, such as: "C:\Program Files (x86)\Programmer's Notepad\pn.exe".
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
The median is 29.
total marks divided by number of subjects
Four engineering students E1, E2, E3 and E4 attempted their semester exams and their relative scores in Electronics, Computer Science, Mathematics and Communication is as follows: Electronics => E1> E2> E3> E4 Computer Science => E2> E4> E3> E1 Mathematics => E3> E1> E4> E2 Communication => E4> E2> E1> E3 The total marks for each of the tests was 100. It was also found that all students' scores were whole numbers and none scored marks less than 40. In addition, nobody scored the same marks in two subjects. The average marks scored by the four students were 70, 80, 60 and 80 respectively. 1. The total marks scored (all subjects inclusive) by E1 was ____? a) 200 b) 280 c) 320 d) 360
no because i got 119 marks in mppet and according to last year's opening and closing ranks i don't think students with this less marks get sgsits. the college excepts students who have scored really high marks.
' '*** PROGRAM: Collecting student data: names/marks. ' '*** Create 2 array variables to store each students name/marks... DIM students$(10), marks$(10) '*** SCREEN ONE/Collect the data... CLS '...(CL)ear the Output (S)creen '*** print heading... PRINT "PROGRAM: Collecting each student names/marks..." PRINT '*** A FOR/NEXT loop is used to collect each individual students data... FOR eachStudentNo% = 1 TO 10 '*** Get each students names/marks 'by typing these values in from the keyboard.... PRINT eachStudentNo%; ">" INPUT " Enter student name"; students$(eachStudentNo%) INPUT "Enter student marks"; marks$(eachStudentNo%) NEXT '*** SCREEN TWO: Output the collected data... CLS '...(CL)ear the Output (S)creen '*** Print headings... PRINT "Student No.", "Student Name", "Student Marks" PRINT '*** FOR/NEXT loop is used to print out the 2 array student 'name/marks' values... FOR eachStudentNo% = 1 TO 10 '*** print out each students 'number/name/mark' values... PRINT eachStudentNo%, PRINT students$(eachStudentNo%), PRINT marks$(eachStudentNo%) NEXT END '...END of program/halt program code execution
It depends from school to school. However, upon successful completion of the teacher preparation program and the passing of all required certification tests, students will be recommended for degree program.
56
write a c program to display marks,total,average,grade using union
Who gain highest marks in s.s.c.1 examination
Sometimes dont need to with parents, Just get a better or average marks is okay.
grading system is an advantage to the weak students and well as for those students who got just one mark above which changes their grade. If a student has scored 91 marks he will got A1 and a student got 99 he will also got A1.so,disadvantage is also there for stutents who got very good marks in that subject.