2017년 11월 20일 월요일

[C++] HackerRank Day5 Solution

https://www.hackerrank.com/challenges/30-loops/problem


int main(){
    int n;
    cin >> n;
 
    for(int i=1; i<=10;i++){
        cout << n << " x " << i << " = " << n*i << endl;
    }
    return 0;
}

댓글 없음:

댓글 쓰기