![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 18.12.2020 02:20 paatnguyyen
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](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 07:00
Robots with telescoping arms are sometimes used to perform tasks (e.g., welding or placing screws) where access may be difficult for other robotic types. during a test run, a robot arm is programmed to extend according to the relationship r = 3 + 0.5cos(4θ) and the arm rotates according to the relationship θ=−π4t2+πt , where r is in feet, θ is in radians, and t is in seconds. use a computer program to plot the path of tip a in x and y coordinates for 0 ≤ t ≤ 4s.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 09:40
Healthy study habits are best described as
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 19:30
Which phrase is the best definition of a pivottable a a table containing data that is organized horizontally b a table used to calculate financial pivot values c a tool used to summarize data d a table containing specific formatting
Answers: 1
You know the right answer?
Use the function written in the last lesson to calculate a student’s GPA. Ask them how many classes...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 20.04.2021 00:44
![question](/tpl/images/cats/mat.png)
Mathematics, 20.04.2021 00:44
![question](/tpl/images/cats/biologiya.png)
Biology, 20.04.2021 00:44
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 20.04.2021 00:44
![question](/tpl/images/cats/mat.png)
Mathematics, 20.04.2021 00:44
![question](/tpl/images/cats/mat.png)
Mathematics, 20.04.2021 00:44
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.04.2021 00:44
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 20.04.2021 00:44
![question](/tpl/images/cats/mat.png)
Mathematics, 20.04.2021 00:44
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
History, 20.04.2021 00:44
![question](/tpl/images/cats/mat.png)
Mathematics, 20.04.2021 00:44
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)