Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

pum game in c++

#include<iostream>
using namespace std;

int main()
{
	int n, t{ 1 };
	cin >> n;
	for (int i = 1; i <= n; i++)
	{
		cout << t << " " << t+1 << " " << t+2 << " " << "PUM
";
		t += 4;
	}
	
	return 0;
}
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #pum #game
ADD COMMENT
Topic
Name
3+6 =