Ask Question
8 December, 15:07

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. 8 December, 18:19
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers