Read an input from the Input Box that is a Student's Average Using a 10 point...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Read an input from the Input Box that is a Student's Average Using a 10 point scale. 90 to 100 is an A .80 to 89 is a B 70 to 79 is a C 60 to 69 is a D below 60 is an F . Display the message Student Grade grade, where grade is A, B, C, D, or F Write this program by writing a Function called LetterGrade that takes one integer argument and returns nothing. The function header should be: Function LetterGrade (integer average) returns nothing The LetterGrade Function should display the messages: Student Average: average Student Grade: grade where grade is A, B, C, D, or F For example if the input is 95 The output should be Student Average: 95 Student Grade: A If the input is 72 Read an input from the Input Box that is a Student's Average Using a 10 point scale. 90 to 100 is an A .80 to 89 is a B 70 to 79 is a C 60 to 69 is a D below 60 is an F . Display the message Student Grade grade, where grade is A, B, C, D, or F Write this program by writing a Function called LetterGrade that takes one integer argument and returns nothing. The function header should be: Function LetterGrade (integer average) returns nothing The LetterGrade Function should display the messages: Student Average: average Student Grade: grade where grade is A, B, C, D, or F For example if the input is 95 The output should be Student Average: 95 Student Grade: A If the input is 72
Expert Answer:
Answer rating: 100% (QA)
you want to create a program with a function in which you in... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these general management questions
-
(15 points) Consider the system: -2 5 9 X1 (100-(0) 7 -37 X3 = -26 (1). Perform three iterations of the Jacobi method with your initial guess being the zero vector. Why does it not appear to be...
-
You are required to write a Python program that will manage character (heroes and villain) information. Character (hero and villain) information will be stored in a text file that will be read in...
-
The following are trial balance of Clarissa Amanda Sdn. Bhd. as at 31st December 2021. Debit RM Credit RM Opening stock, 1 Jan 2021 16,000 Purchases 75,000 Sales return 5,000 Carriage inwards 1,500...
-
How are externalities reduced within a firm?
-
A power screw is 25 mm in diameter and has a thread pitch of 5 mm. (a) Find the thread depth, the thread width, the mean and root diameters, and the lead, provided square threads are used. (b) Repeat...
-
Neilson Tool Corporation's December 31 year-end financial statements contained the following errors: An insurance premium of $66,000 covering the years 2016, 2017, and 2018 was prepaid in 2016, with...
-
Use the normal distribution in Exercise 13. (a) What percent of the SAT total scores are less than 1200? (b) Out of 500 randomly selected SAT total scores, about how many would you expect to be...
-
Gemini, Inc., an all-equity firm, is considering a $1.7 million investment that will be depreciated according to the straight-line method over its four-year life. The project is expected to generate...
-
Gold coast organics has a total assets turnover of 2.5 and a net profit margin of 3.5 percent.the total debt ratio for the firm is 50 percent.calculate the gold coast organics return On equity.
-
You send daily emails about a variety of topics for a shoe store. Your open rates are low, but sale announcements perform best. Which two marketing actions would most likely increase open rates?...
-
Global Freightways is considering the purchase of a new airplane to fly between Tokyo (NRT) and Singapore (SIN), a distance of 2,869 nautical miles. Global Freightways is evaluating two models of...
-
Define a relation R on Z as follows: m, n Z, m Rn 5 (m - n). Which one of the following choices is not true? (-8) R 11 01R (-9) 2 R 13 5 R 5
-
What is the process of de ning more than one method in a class di erentiated by method signature? Group of answer choices Method Overloading Method Overwriting Method Overlapping Method Overriding
-
The hash function h(k)= k mod m and linear probing are used to insert the keys 37, 38, 72, 48, 98, 11, 56 into a hash table of size = 7 having indices 0...6. The order of the hash codes in the array...
-
Write a C++ program to read 4 numbers entered by user in the terminal (use cin). Then, take the average of these numbers and report: Average of number1, number2, number3 and number 4 is .... (use...
-
John Company produces hats and sells them for $100 each. His cost to produce the hats are: DM 20 per unit DL 30 per unit VMOH 10 per unit FMOH 40,000 Selling expenses are $5 per unit and are all...
-
P and Q are two elements which form P2Q3 and PQ2 molecules. If 0.15 mole of P2Q3 and PQ2 weighs 15.9 g and 9.3g, respectively, what are atomic mass of P and Q?
-
A woman at a point A on the shore of a circular lake with radius 2 mi wants to arrive at the point C diametrically opposite on the other side of the lake in the shortest possible A time. She can walk...
-
Matthew borrows $250,000 to invest in bonds. During 2012, his interest on the loan is $30,000. Matthew's interest income from the bonds is $10,000. This is Matthew's only investment income. a....
-
Sophie is a single taxpayer. For the first payroll period in October 2012, she is paid wages of $3,250 monthly. Sophie claims three allowances on her Form W-4. a. Use the percentage method to...
-
Quince Interests is a partnership with a tax year that ends September 30, 2012. During that year, Potter, a partner, received $3,000 per month as a guaranteed payment, and his share of partnership...
-
What is the difference between real objects and virtual objects? Give an example for each.
-
Give a superclass for the following three classes: car, airplane, tank.
-
How do business classes differ from utility classes? Provide one example for each.
Study smarter with the SolutionInn App