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 01:30
How will you cite information that is common knowledge in your research paper?
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
Draw the resistor’s voltage and current phasors at t=15ms. draw the vectors with their tails at the origin. the orientation of your vectors will be graded. the exact length of your vectors will not be graded.
Answers: 2
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, 24.03.2020 05:33
question
Mathematics, 24.03.2020 05:33
question
Mathematics, 24.03.2020 05:33
Questions on the website: 13722363