if they have asked number of line segments= n=given points and n(n-1)/2 then what if tgey havs asked number of points?
Answers
Step-by-step explanation:
This program calculates the grade of a student based on the marks entered by user in each subject. Program prints the grade based on this logic.
This program calculates the grade of a student based on the marks entered by user in each subject. Program prints the grade based on this logic.If the average of marks is >= 80 then prints Grade ‘A’
This program calculates the grade of a student based on the marks entered by user in each subject. Program prints the grade based on this logic.If the average of marks is >= 80 then prints Grade ‘A’If the average is <80 and >=60 then prints Grade ‘B’
This program calculates the grade of a student based on the marks entered by user in each subject. Program prints the grade based on this logic.If the average of marks is >= 80 then prints Grade ‘A’If the average is <80 and >=60 then prints Grade ‘B’If the average is <60 and >=40 then prints Grade ‘C’
This program calculates the grade of a student based on the marks entered by user in each subject. Program prints the grade based on this logic.If the average of marks is >= 80 then prints Grade ‘A’If the average is <80 and >=60 then prints Grade ‘B’If the average is <60 and >=40 then prints Grade ‘C’else prints Grade ‘D’