7.5 Code Practice
Instructions:
Use the function written in the last lesson to calculate a s...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 16.01.2021 03:50 mom2acjm
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](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 23:00
In a file-oriented information system, a work file stores relatively permanent data about an entity is created and saved for backup and recovery purposes stores records that contain day-to-day business and operational data is a temporary file created by an information system for a single task
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:40
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:00
Researchers measured the data speeds for a particular smartphone carrier at 50 airports. the highest speed measured was 78.1 mbps. the complete list of 50 data speeds has a mean of x overbarequals16.11 mbps and a standard deviation of sequals18.65 mbps. a. what is the difference between carrier's highest data speed and the mean of all 50 data speeds? b. how many standard deviations is that [the difference found in part (a)]? c. convert the carrier's highest data speed to a z score. d. if we consider data speeds that convert to z scores between minus2 and 2 to be neither significantly low nor significantly high, is the carrier's highest data speed significant? a. the difference is nothing mbps.
Answers: 3
You know the right answer?
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.01.2020 21:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 16.01.2020 21:31
![question](/tpl/images/cats/himiya.png)
Chemistry, 16.01.2020 21:31
![question](/tpl/images/cats/istoriya.png)
History, 16.01.2020 21:31
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.01.2020 21:31
![question](/tpl/images/cats/health.png)
Health, 16.01.2020 21:31
![question](/tpl/images/cats/mat.png)
Mathematics, 16.01.2020 21:31
![question](/tpl/images/cats/mat.png)
Mathematics, 16.01.2020 21:31
![question](/tpl/images/cats/mat.png)
Mathematics, 16.01.2020 21:31
![question](/tpl/images/cats/istoriya.png)
History, 16.01.2020 21:31
![question](/tpl/images/cats/mat.png)
Mathematics, 16.01.2020 21:31
![question](/tpl/images/cats/istoriya.png)
History, 16.01.2020 21:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 16.01.2020 21:31