PROSOLVE Game
[
Log In
]
Home
1: Algorithm
Question 1a
Question 1b
Question 1c
Question 1d
Question 1e
2: Basics
Question 2a
Question 2b
Question 2c
Question 2d
Question 2e
3: Input/Output
Question 3a
Question 3b
Question 3c
Question 3d
Question 3e
4: Selection
Question 4a
Question 4b
Question 4c
Question 4d
Question 4e
5: Repetition
Question 5a
Question 5b
Question 5c
Question 5d
6: Functions
Question 6a
Question 6b
Question 6c
Question 6d
7: Arrays
Question 7a
Question 7b
Question 7c
Help
ProSolve Game : 3 Steps
Feedback: PROSOLVE Game
PROSOLVE Game
Level 4
Write a C++ program that reads the grade then print the GPA according to following rule.(A->4, B->3, C->2, D->1, F->0)
Random Steps :
Start
Else If (G==’C’) Then Print "2"
Stop
Else
Print "Invalid grade"
If (G == ‘A’) Then Print "4"
Else If (G==’F’) Then Print "F"
Endif
Else If (G==’B’) Then Print "3"
Read Grade (G)
Else If (G==’D’) Then Print "1"
Number of Clicks:
(
Instruction:
Re-arrange the above given random steps into correct steps of sequential order by moving the lines (steps), up or down using the arrow Image-Buttons at right side of the list box.)
Total POINTS: