1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Help C and C++ Need ko tulong nyo

Discussion started by Megabing213, Oct 11, 2018.

  1. Megabing213

    Megabing213 Journeyman Established

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

    Attached Files:

    Last edited: Oct 11, 2018
    treskia likes this.
  2. __SaD__

    __SaD__ PHC Contributor Established

    Di makita image mo
     
    Megabing213 likes this.
  3. Megabing213

    Megabing213 Journeyman Established

    San po maganda iupload image? Need daw image url e
     
  4. jME03

    jME03 Addict Established

    Try this: https://postimages.org
     
  5. mrHazan

    mrHazan Eternal Poster Established

    Diretso dito? Hindi pwede?
     
  6. Megabing213

    Megabing213 Journeyman Established

  7. Megabing213

    Megabing213 Journeyman Established

    Bat ayaw paps?
     
  8. mrHazan

    mrHazan Eternal Poster Established

    Anong problema sa images mo?
    Upload file mo lang dito.
    Wag mo na iupload sa ibang site.
     
  9. Megabing213

    Megabing213 Journeyman Established

    Need daw image url paps. Tapos inupload ko sa postimage.org di lumitaw
     
  10. Megabing213

    Megabing213 Journeyman Established

  11. mrHazan

    mrHazan Eternal Poster Established

    Yung katabi ng "Post Reply"? Capture.PNG
     
  12. Megabing213

    Megabing213 Journeyman Established

    Yan paps thanks
     

    Attached Files:

  13. mrHazan

    mrHazan Eternal Poster Established

  14. Megabing213

    Megabing213 Journeyman Established

    Parang ganon nadin po. Gusto kolang kase na malipat poyon sa kabila.
    Nanghihingi po kasi yung teaxher namen ng example
     
  15. Megabing213

    Megabing213 Journeyman Established

    Example po nang while loops and for loops paps. Kahit anong code papo or example
     
  16. Megabing213

    Megabing213 Journeyman Established

    Or pwede makahinge nalang nang codes sa while loops and for loops paps
     
  17. treskia

    treskia Honorary Poster Established

    Haha hirap nyan c++, search ka may command or lib dyan about new column ata
     
    Megabing213 likes this.
  18. mrHazan

    mrHazan Eternal Poster Established

    Okay naman yun. May idea ka na ng while loop.
    Hindi lang maganda pagkakalagay ng code kaya hindi maayos ang output.
     
    Megabing213 likes this.
  19. Megabing213

    Megabing213 Journeyman Established

    Yung output ngapo panget hahaha. Baka may alam po kayo kung pano ilagay yun sa kabila paps?
     
  20. mrHazan

    mrHazan Eternal Poster Established

    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;
    }
    
     
    Last edited: Oct 11, 2018
Tags:
  1. PHCorner uses cookies to help personalise content and tailor your experience. By continuing to use this site, you are consenting to our use of cookies. Accept Learn More
    Dismiss Notice