This is the program that I need to make.
Write a program that prints three items, such as the names of your three best friends or favorite movies, on three separate lines.
This is what I did. #include <iostream>
using namespace std;
int main()
{
cout << "Suresh" << endl;
cout << "Sekhar" << endl;
cout << "Anshu" << endl;
return 0;
}
Then it tells me that the program fails to test the submission with three random names. Please help me.
Code
#include <iostream>
using namespace std;
int main()
{
cout << "Jack" << endl;
cout << "Jill" << endl;
cout << "Michle" << endl;
return 0;
}
output
If you have any query regarding the code please ask me in the
comment i am here for help you. Please do not direct thumbs down
just ask if you have any query. And if you like my work then please
appreciates with up vote. Thank You.
Get Answers For Free
Most questions answered within 1 hours.