third_array[i] = second_array[i] + first_array[i]
Back in main, print out the value of every element in the third/sum array. Excellent output on this assignment might show something like:
[MO2.1, MO2.2, MO2.3]
Exercise 2 for Written Assignment 2
Design and run a program that takes a numerical score and outputs a letter grade. Specific numerical scores and letter grades are listed below:
In this program, create two void functions titled getScore and printGrade with an int argument. The function getScore should have a Reference parameter and printGrade should have a Value parameter.
The function getScore will prompt the user for the numerical score, get the input from the user, and print the numerical score. The function printGrade will calculate the course grade and print the course grade. (Be careful and note that the assignment requires you to input the grade into getScore and not directly into the main function.)
Do not forget to put in the proper prompts and appropriate output messages. You should use the switch statement introduced in Chapter 5 to implement it.
Krushan P.0% (0)
Create an account now and send a proposal now to get this project.Sign up
Clarification Board Ask a Question
i am also a computer science student and make these type of assignment in my fundamental of computer programming subject. I am willing to code these task for you . I am out of credit proposal these days. Can you send me to offer if you like?