#include <iostream>
#include <iomanip>
using namespace std;
int main( ) {
double score1, score2, score3, score4, score5;
double average;
// Get user input
cout << "Insert your score for first test\n " ;
cin >> score1;
cout << "Insert your score for second test\n " ;
cin >> score2;
cout << "Insert your score for third test\n " ;
cin >> score3;
cout << "Insert your score for fourth test\n " ;
cin >> score4;
cout << "Insert your score for fifth test\n " ;
cin >> score5;
// Calculate the average score
average = ( score1 + score2 + score3 + score4 + score5) / 5 ;
// Display the output
cout << fixed << showpoint << setprecision( 1 ) ;
cout << "First test score = " << setw ( 5 ) << score1 << endl;
cout << "Second test score = " << setw ( 5 ) << score2 << endl;
cout << "Third test score = " << setw ( 5 ) << score3 << endl;
cout << "Fourth test score = " << setw ( 5 ) << score4 << endl;
cout << "Fifth test score = " << setw ( 5 ) << score5 << endl;
cout << "______________________________\n " ;
cout << "Average test score = " << setw ( 5 ) << average << endl;
return 0 ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWRvdWJsZSBzY29yZTEsIHNjb3JlMiwgc2NvcmUzLCBzY29yZTQsIHNjb3JlNTsKCWRvdWJsZSBhdmVyYWdlOwoJCgkvLyBHZXQgdXNlciBpbnB1dAoJY291dCA8PCAiSW5zZXJ0IHlvdXIgc2NvcmUgZm9yIGZpcnN0IHRlc3RcbiI7CgljaW4gPj4gc2NvcmUxOwoJCgljb3V0IDw8ICJJbnNlcnQgeW91ciBzY29yZSBmb3Igc2Vjb25kIHRlc3RcbiI7CgljaW4gPj4gc2NvcmUyOwoJCgljb3V0IDw8ICJJbnNlcnQgeW91ciBzY29yZSBmb3IgdGhpcmQgdGVzdFxuIjsKCWNpbiA+PiBzY29yZTM7CgkKCWNvdXQgPDwgIkluc2VydCB5b3VyIHNjb3JlIGZvciBmb3VydGggdGVzdFxuIjsKCWNpbiA+PiBzY29yZTQ7CgkKCWNvdXQgPDwgIkluc2VydC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