Advertisement
akosiraff

GPACalculatorApp

Mar 6th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/gpacalculatorapp/
  3. Your application should satisfy the following requirements:
  4. 1. Five labels to display “Gender:”, “GPA:”, “All students:”, “Male students:” and
  5. “Female students:” and another three labels to display the calculated volume GPA
  6. values. (4 points)
  7. 2. A group box with the name “Average GPA” which groups the six labels as shown in
  8. above figure. (3 points)
  9. 3. Two buttons with correct text. (2 points)
  10. 4. A list box with two values “F” and “M” to select the gender of the student. (4 points)
  11. 5. A list box with values from 0.0 to 4.0 as 0.0, 0.1, 0.2,……3.8, 3.9, 4.0 to select the
  12. GPA of the student. (4 points)
  13. 6. Display the average GPA for all the students, the average GPA for the male students
  14. and the average GPA for the female students. Your application must update these
  15. three average GPA for each time when user enters a new data set using the list boxes
  16. and click on calculate button.
  17. For this part the points will assign in following criteria.
  18. a. Define a String variable to store the gender of the current student. (1 points)
  19. b. Define Decimal variable to store the GPA of the current student. (1 points)
  20. c. Declare and initialize three Integer counters to count the number of all the
  21. students, number of male students and number of female students. (3 points)
  22. d. Declare and initialize three Decimal accumulators to accumulate the GPA for all
  23. the students, GPA for male students and GPA for female students. (3 points)
  24. e. Define three Decimal variables to store the current average GPA for all the
  25. students, male students and female students. (3 points)
  26. f. Get the gender value and GPA value to the relevant variable from the list box.
  27. (4 points)
  28. g. Update the three counters and accumulators. (4 points)
  29. h. Calculate three current average GPA values and store in relevant variables.
  30. (6 points)
  31. i. Display the calculated average GPA values on labels. (5 points)
  32. 7. The whole application should terminate and exit when users click the “Exit” button.
  33. (3 points)
  34.  
  35. Download: http://solutionzip.com/downloads/gpacalculatorapp/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement