Student Grade Programming

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2008
Posts: 12
Reputation: PuQimX is an unknown quantity at this point 
Solved Threads: 0
PuQimX PuQimX is offline Offline
Newbie Poster

Student Grade Programming

 
0
  #1
Sep 1st, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,842
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 503
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: Student Grade Programming

 
0
  #2
Sep 1st, 2008
Originally Posted by PuQimX View Post
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/post68...tml#post682492
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 12
Reputation: PuQimX is an unknown quantity at this point 
Solved Threads: 0
PuQimX PuQimX is offline Offline
Newbie Poster

Re: Student Grade Programming

 
-1
  #3
Sep 1st, 2008
Suka hati ku laaa....!!!! NOT THE ANSWER
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,842
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 503
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: Student Grade Programming

 
0
  #4
Sep 1st, 2008
Originally Posted by PuQimX View Post
Suka hati ku laaa....!!!! NOT THE ANSWER
I have no idea what this means.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 8
Reputation: obj7777 is an unknown quantity at this point 
Solved Threads: 0
obj7777 obj7777 is offline Offline
Newbie Poster

Re: Student Grade Programming

 
1
  #5
Sep 1st, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 89
Reputation: raul15791 is an unknown quantity at this point 
Solved Threads: 7
raul15791 raul15791 is offline Offline
Junior Poster in Training

Re: Student Grade Programming

 
1
  #6
Sep 2nd, 2008
Originally Posted by VernonDozier View Post
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.... )
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 89
Reputation: raul15791 is an unknown quantity at this point 
Solved Threads: 7
raul15791 raul15791 is offline Offline
Junior Poster in Training

Re: Student Grade Programming

 
0
  #7
Sep 2nd, 2008
Obj7777 is right... At least put in some effort to try first...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 825 | Replies: 6
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC