In The Name Of Allah

Programming1-Sila Baca dan beri comment atau fahami dengan betul2. .INSYAALLAH

Monday 8 April 2013

STEPS IN PRODUCING THIS GPA & CGPA CALCULATOR…..


STEPS IN PRODUCING THIS
GPA & CGPA CALCULATOR…..
Firstly, declare all the variables that are needed in making on the mini project.



After that, we using function and in the function we use looping (for) and “if “. For the number of a timer, uses “if”.
 
For the marks, grade points and grades, put the switch (if, else if and else).  For example, if we enter marks 80, this software will automatically choose the grades that is between >=70 &&<=74. Then have set each mark has its own grade point and grade such as:
 
Return is referring to chapter function to return the value we call.
 
 
Next step, use “system ("cls") as the command of “conio”and “windows to close the tab and open a new tab and to stop for a few to next program. For the example is:



For the second last, inserted the given formula on how too much user can put the bill of students. Then, put the formula at the end of the switch and use for. The example is shown below:


For the last, inserted the given formula on how to calculate the GPA. Then, put the formula at the end of the switch and use for & while. The example is shown below:
 








 

No comments:

Post a Comment