- Joined
- Sep 5, 2017
- Posts
- 433
- Solutions
- 1
- Reaction
- 116
- Points
- 240
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
for (int i = 1; i <= 100; i++)
{
cout << setw(2) << setfill('0') << i << " ";
if (i%10 ==0)
{
cout << endl;
}
}
return 0;
}