7.5 Code Practice
INSTRUCTIONS:
Use the function written in the last lesson to calculat...
![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 16.01.2021 04:10, QuarkyFermion
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.
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 20:30, kokilavani
In the context of it jobs in the information systems field. a is responsible for database design and implementation
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 22:50, prettybaby406
Explain why it is reasonable to assume that receiving 3 duplicate acks in tcp is an indication that the network is not currently congested.
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:30, jhonpiper
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
Do you know the correct answer?
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 04.10.2020 08:01
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 04.10.2020 08:01
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 04.10.2020 08:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 04.10.2020 08:01
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/User.png)
![Konu](/tpl/images/cats/en.png)
English, 04.10.2020 08:01