Ask Question
13 February, 10:52

Write a program that has variables to hold three test scores. The program should ask the user to enter three test scores, and then assign the values entered to the variables.

+2
Answers (1)
  1. 13 February, 11:17
    0
    The solution program has been coded in C language. It can be different for any other programming language

    Explanation:

    #include

    using namespace std;

    int main ()

    {

    int score1, score2, score3;

    cout<<"Enter Test score 1/n";

    cin>>score1;

    cout<<"Enter Test score 2/n";

    cin>>score2;

    cout<<"Enter Test score 3/n";

    cin>>score3;

    cout<<"Test Score 1 : "<
    cout<<"Test Score 2 : "<
    cout<<"Test Score 3 : "<
    return 0;

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a program that has variables to hold three test scores. The program should ask the user to enter three test scores, and then assign ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers