PTA groups Programming Ladder Race - Practice set L1-021 important words three times

L1-021 important words three times

Questions asked

This road super simple subject without any input.
You just need to phrase very important words - "I'm gonna WIN!" - continuous output three times on it.
Note that each pass per line, in addition to each carriage return line can not have any extra characters.
Sample input:

Sample output:

I'm gonna WIN!
I'm gonna WIN!
I'm gonna WIN!

code show as below:

#include<iostream>
using namespace std;
int main()
{
    for(int i=0;i<3;++i)
        cout<<"I'm gonna WIN!"<<endl;
    return 0;
}
Published 82 original articles · won praise 12 · views 9860

Guess you like

Origin blog.csdn.net/Slatter/article/details/104081193