subject

7.4 Code Practice 1 Write a program that prompts the user to input a letter grade in either capital or lowercase.
Your program should then output the correct
number of the GPA. See the table below for possible inputs and expected outputs. Your program should define at least one function named
GPACalc that is called from your main program.

The GPACalc function should take exactly one parameter-a string for the letter grade as lower or upper case. It will return either an
integer for the GPA value or a string Invalid, if the letter grade parameter is invalid.

Can someone please help me with this quickly cause I feel like I’m overthinking this


7.4 Code Practice 1

Write a program that prompts the user to input a letter grade in either capit

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:00
Petrică, tânăr licean în clasa a ix-a, a primit în dar de la părinţii săi un cont bancar pentru micile sale cheltuieli curente. el este pasionat de internet banking şi îşi verifică cu grijă toate tranzacţiile efectuate. pentru creşterea securităţii tranzacţiilor online, banca îi furnizează lui petrică un număr pe care el va trebui să îl modifice, obţinând un număr tan – număr de autentificare a tranzacţiei (transaction authentication number). regula de obţinere a numărului tan este următoarea: se formează cel mai mic număr par din toate cifrele numărului furnizat de bancă. cerinţă cunoscând numărul n furnizat de bancă, să se determine numărul tan obţinut de petrică. date de intrare fişierul tan.in conţine pe prima linie numărul natural n cu semnificaţia din enunţ. date de ieşire fişierul de ieşire tan.out va conţine o singură linie pe care va fi scris numărul tan cerut. restricţii • 0 < n < 18*1018 • n are cel puţin o cifră pară • numărul tan obţinut nu poate conţine zerouri nesemnificative
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
Who can provide you with a new password when you have forgotten your old one? your provide you with a new password in case you forget your old one.
Answers: 3
question
Computers and Technology, 23.06.2019 22:00
Take a critical look at three gui applications you have used—for example, a spreadsheet, a word-processing program, and a game. describe how well each conforms to the gui design guidelines listed in this chapter.
Answers: 3
question
Computers and Technology, 24.06.2019 19:50
Which is a characteristic of free and open-source software licenses? a. the source code is unavailable to everyone b. the source code is available only to the government c. the source code is available to all users d. the source code is constantly modified
Answers: 1
You know the right answer?
7.4 Code Practice 1 Write a program that prompts the user to input a letter grade in either capital...
Questions
question
Mathematics, 04.12.2020 05:30
question
Mathematics, 04.12.2020 05:30
question
Mathematics, 04.12.2020 05:30
question
Mathematics, 04.12.2020 05:30
Questions on the website: 13722362