subject

This program gets values from the user, and then runs a calculation. The values are passed by reference (by address), so the main() function sees the changed values of the variables. The first function (getValues(0) gets user input. The second function (calcCubic), performs the calculations, and the third function (printCubic)) prints the value of the calculation. Here is the code: #include char calculateLetterGrade (int numGrade) main () /Numerical grade to be entered / int numGrade. char grade, printf "What is your numerical grade? "); scanf (d", &numGrade) 10 11 grade cal culateLetterGrade (numGrade); printf /*Use function to determine 1etter grade* 12 13 ("nYour letter grade is tc\n", grade): L) 14 15 1 6 char calculateLetterGrade (int numGrade) 日( 17 18 char outputGrade: 1ぐ ifnumGrade>-90 && numGrade <100) 20 21 outputGrade A' else if numGrade>=8 && numGrade <89) outputGrade B' 66 numGrade <-79) else if numGrade>-7 outputGrade C' ; 35 66 numGrade <-69) else if numGrade>65 36 outputGrade D' ; 40 else 41 outputGrade F'; 42 43 44 return outputGrade; 4- And here is the output: RACIS126 CIS126 November 2018 Development Unit 3Unit 3 Guided Practice 6.exe What is your numerical grade?98 Your letter grade is A Process exited after 4.413 seconds with return value 0 Press any key to continue Submission Instructions Now, you enter the code, and run it. (No flowchart this time) Upload your c file and a screenshot of your code output saved in a Word document including the path name directory at the top of the screen into the dropbox for grading. Note Do Not Copy and Paste the output as seen in the directions of this exercise. This considered plagiarizing

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Ihave an iphone 8plus should i get another phone like samsung note 9 or s9 ? ?
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Into what form does the barcode reader convert individual bar patterns?
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
7.23 main lab 7 - online shopping cart background this main lab extends the earlier prep lab "online shopping cart part 1". (you should save this as a separate project from the earlier prep lab). you will create an on-line shopping cart like you might use for your on-line purchases. the goal is to become comfortable with setting up classes and using objects. requirements this lab can be done individually or as pair programming. expanded itemtopurchase class (15 points) extend the itemtopurchase class as follows. we will not do unit testing in this lab so we will not be giving you the names of the member functions. create good ones on your own. create a parameterized constructor to assign item name, item description, item price, and item quantity (default values of "none" for name and description, and 0 for price and quantity). additional public member functions set an item description get an item description print the cost of an item - outputs the item name followed by the quantity, price, and subtotal (see example) print the description of an item - outputs the item name and description (see example) additional private data members a string for the description of the item. example output of the function which prints the cost of an item: bottled water 10 @ $1.50 = $15.00 example output of the function which prints the item description:
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Is the process of organizing data to reduce redundancy. a. normalization b. primary keying c. specifying relationships d. duplication
Answers: 1
You know the right answer?
This program gets values from the user, and then runs a calculation. The values are passed by refere...
Questions
question
Mathematics, 18.03.2020 01:52
Questions on the website: 13722367