#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
for (int i = a; i <= a * 4; i++)
cout << i << " ";
}
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
for (int i = a; i <= a * 4; i++)
{
cout << i << " ";
}
return 0;
}