← Back to List

2739번: 구구단 ↗

Solutions

C++14
141 B | 141 chars
#include <iostream>
using namespace std;
int N;
int main()
{
	cin>>N;
	for(int x=1; x<=9; x++)
	{
		cout<<N<<" * "<<x<<" = "<<N*x<<endl;
	}
}