1 - 01 pahelp naman po

Status
Not open for further replies.
C++:
#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;
}

Not sure kung gagana.
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 1
    Replies
  • 261
    Views
  • 2
    Participants
Last reply from:
Aoshinomori

Trending Topics

Online now

Members online
1,203
Guests online
3,815
Total visitors
5,018

Forum statistics

Threads
2,308,726
Posts
29,186,912
Members
1,191,181
Latest member
xxshadowxx
Back
Top