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 10:30
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Why should you evaluate trends when thinking about a career path?
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Ican’t open these when it’s just a comment. someone pls explain why this is happening
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, 29.01.2021 01:30
question
Mathematics, 29.01.2021 01:30
question
Mathematics, 29.01.2021 01:30