Ask Question
6 June, 14:26

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.

+1
Answers (1)
  1. 6 June, 15:18
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers