subject

7.5 Code Practice Instructions:
Use the function written in the last lesson to calculate a student’s GPA. Ask them how many classes they are taking, then ask them to enter the grades for each class and if it is weighted.

Your program should then output the averaged GPA including the decimal place.

Your main program must call the function.

SAMPLE RUN:
How many Classes are you taking? 7

Enter your Letter Grade: C
Is it weighted? (1 = yes) 1
Your GPA score is: 3

Enter your Letter Grade: D
Is it weighted? (1 = yes) 0
Your GPA score is: 1

Enter your Letter Grade: A
Is it weighted? (1 = yes) 1
Your GPA score is: 5

Enter your Letter Grade: B
Is it weighted? (1 = yes) 1
Your GPA score is: 4

Enter your Letter Grade: C
Is it weighted? (1 = yes) 0
Your GPA score is: 2

Enter your Letter Grade: A
Is it weighted? (1 = yes) 0
Your GPA score is: 4

Enter your Letter Grade: C
Is it weighted? (1 = yes) 0
Your GPA score is: 2

Your weighted GPA is a 3.0.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
Which spereadsheet type will determine how well a bussiness has done over the past year
Answers: 1
question
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ≤ n ≤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
Answers: 1
question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
You know the right answer?
7.5 Code Practice Instructions:
Use the function written in the last lesson to calculate a s...
Questions
question
Chemistry, 08.07.2019 20:00
question
Mathematics, 08.07.2019 20:00
question
Mathematics, 08.07.2019 20:00
Questions on the website: 13722360