subject

Please help! 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) O Your GPA Score is: 2

Your weighted GPA is a 3.0

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
question
Computers and Technology, 24.06.2019 13:10
Write a program that has a conversation with the user. the program must ask for both strings and numbers as input. the program must ask for at least 4 different inputs from the user. the program must reuse at least 3 inputs in what it displays on the screen. the program must perform some form of arithmetic operation on the numbers the user inputs. turn in your .py file as well as a screenshot of your program's output. include comments in your code to explain how it works an example program run might look like (have fun with this and be creative): ‘what is your name? ’ “josh” ‘, josh. what is your favorite color? ’ “green” ‘mine too. do you also like ice cream? ’ “no” ‘josh, how old are you? ’ “40” ‘ and how many siblings do you have? ’’ “3” ‘that means you are one of 4 kid(s). is green the favorite color of anyone else in your house? ’
Answers: 3
question
Computers and Technology, 25.06.2019 04:00
What was the name of the first computer (machine) language?
Answers: 2
question
Computers and Technology, 25.06.2019 12:00
What are the best ways to find data within a spreadsheet or database? check all that apply. sorting tools the function scrolling the search engine the search box
Answers: 1
You know the right answer?
Please help! Use the function written in the last lesson to calculate a student's GPA. Ask them how...
Questions
question
Mathematics, 20.01.2021 20:40
question
Mathematics, 20.01.2021 20:40
question
Mathematics, 20.01.2021 20:40
question
Mathematics, 20.01.2021 20:40
question
Mathematics, 20.01.2021 20:40
question
Mathematics, 20.01.2021 20:40
question
Health, 20.01.2021 20:40
Questions on the website: 13722367