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.

About this Thread

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

Trending Topics

Online now

Members online
1,104
Guests online
4,116
Total visitors
5,220

Forum statistics

Threads
2,354,188
Posts
29,382,595
Members
1,079,364
Latest member
AngasUngas
Back
Top