🔒 Closed Need ko tulong nyo

Status
Not open for further replies.

Megabing213

Established
Anong pwedeng idagdag para ilipat yun sa kabila? Newbie palang ako hehehe while loops
 

Attachments

  • Screenshot_Gallery_20181011-220829.png
    Screenshot_Gallery_20181011-220829.png
    23.1 KB · Views: 0
  • Screenshot_CppDroid_20181011-214355.png
    Screenshot_CppDroid_20181011-214355.png
    37.7 KB · Views: 0
fSTZ5Skk
XGstjH77
 
Yan paps thanks
 

Attachments

  • Screenshot_Gallery_20181011-220829.png
    Screenshot_Gallery_20181011-220829.png
    23.1 KB · Views: 0
  • Screenshot_CppDroid_20181011-214355.png
    Screenshot_CppDroid_20181011-214355.png
    37.7 KB · Views: 0
Yung output ngapo panget hahaha. Baka may alam po kayo kung pano ilagay yun sa kabila paps?
Kung gagamitin ko code mo dapat ganito yun.


Code:
#include <iostream>

using namespace std;

int main()
{
    int day = 1;
    int month = 1;
    int year = 2010;
   
    cout << "Day\tMonth\tYear" << endl;
    while(year <= 2018)
    {
        while(month <= 12)
        {
            while(day <= 31)
            {
                cout<< day << "\t" << month << "\t" << year << endl;
                day++;
            }
            day = 1;
            month++;
        }
        month = 1;
        year++;
    }

    return 0;
}
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 35
    Replies
  • 1K
    Views
  • 5
    Participants
Last reply from:
Megabing213

Trending Topics

Online now

Members online
568
Guests online
3,009
Total visitors
3,577

Forum statistics

Threads
2,330,524
Posts
29,254,780
Members
1,153,127
Latest member
lazyyybitchzz
Back
Top