954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Student Grade Programming

i want to write a program that determine a student’s grade. It reads three test scores (between 0-100) and calls a function the calculate and return a student’s grade based on following rules:
(a) If the average score is 90% and more, the grade is ‘A’
(b) If the average scores 70% or more & less than 90%, it checks the third score. If the third score is more than 90%, the grades is ‘A’ otherwise than grade is ‘B’
(c) If the average score is 50%, it checks the average of second & third scores. If the average of them is greater than 70%, the grade is ‘C’, otherwise it is ‘D’.
(d) If the average score is less than 50%, then the grade is ‘F’

The program’s main() contains only call statements. At least 3 subfunctions are required:
1. One function to read score
2. One to determine the grade
3. One to print the result

if anybody know please reply because i'm a new about this programming.

PuQimX
Light Poster
25 posts since Sep 2008
Reputation Points: 6
Solved Threads: 0
 

i want to write a program that determine a student’s grade. It reads three test scores (between 0-100) and calls a function the calculate and return a student’s grade based on following rules: (a) If the average score is 90% and more, the grade is ‘A’ (b) If the average scores 70% or more & less than 90%, it checks the third score. If the third score is more than 90%, the grades is ‘A’ otherwise than grade is ‘B’ (c) If the average score is 50%, it checks the average of second & third scores. If the average of them is greater than 70%, the grade is ‘C’, otherwise it is ‘D’. (d) If the average score is less than 50%, then the grade is ‘F’

The program’s main() contains only call statements. At least 3 subfunctions are required: 1. One function to read score 2. One to determine the grade 3. One to print the result

if anybody know please reply because i'm a new about this programming.


Please don't double post. You already have a thread on this topic: http://www.daniweb.com/forums/post682492.html#post682492

VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711
 

Suka hati ku laaa....!!!! NOT THE ANSWER

PuQimX
Light Poster
25 posts since Sep 2008
Reputation Points: 6
Solved Threads: 0
 
Suka hati ku laaa....!!!! NOT THE ANSWER

I have no idea what this means.

VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711
 

PuQimX, the point of an assignment is to help you learn. If someone writes your programs for you, you will never advance in the class. I've seen what happens to someone who copies their programming assignments.

obj7777
Newbie Poster
8 posts since Sep 2008
Reputation Points: 30
Solved Threads: 0
 
I have no idea what this means.

The first line is in Malay. It means that:I can do whatever I like!!! (The second line I think you understand.... ;) )

raul15791
Junior Poster
102 posts since Jun 2008
Reputation Points: 37
Solved Threads: 7
 

Obj7777 is right... At least put in some effort to try first...

raul15791
Junior Poster
102 posts since Jun 2008
Reputation Points: 37
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You