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 10:30
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
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
Questions on the website: 13722362