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, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
1. which of the following statements are true about routers and routing on the internet. choose two answers. a. protocols ensure that a single path between two computers is established before sending packets over it. b. routers are hierarchical and the "root" router is responsible for communicating to sub-routers the best paths for them to route internet traffic. c. a packet traveling between two computers on the internet may be rerouted many times along the way or even lost or "dropped". d. routers act independently and route packets as they see fit.
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
question
Computers and Technology, 24.06.2019 01:10
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates.json” file), in order of closest-to-farthest from the origin.
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.09.2019 05:30
question
History, 18.09.2019 05:30
question
Mathematics, 18.09.2019 05:30
Questions on the website: 13722359