1 - 01 pahelp naman po

Status
Not open for further replies.

Mr White

Established
pano ko po kaya magagawang 01 siya
7EA52487-271B-4C54-87CD-21CF86DAFDEB.webp


CE6239C3-8B6B-4655-BDB1-39826A822F43.webp
 
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
  • 241
    Views
  • 2
    Participants
Last reply from:
Aoshinomori

Online now

Members online
1,010
Guests online
907
Total visitors
1,917

Forum statistics

Threads
2,276,230
Posts
28,968,483
Members
1,231,174
Latest member
jpryno
Back
Top