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!

Programming help po.may premyo sa makakasagot

Discussion in 'Coding, Programming' started by alliit, Mar 20, 2016.

  1. Create a program that accepts any number.create a triangle whose height is as tall as the inputted number. sample output: enter number: 3
    ***
    **
    *
     
  2. java ba? i pasok mo sa for loop which is ang end is the number inputed :)
     
    alliit likes this.
  3. Kahit po algorthm lang

    May nagpost po nito
    Classmate q po
    Any way po.tenchuee
     
  4. okay just text me 09354330800 copy paste mo lng ung answer
     
  5. Kazihaya

    Kazihaya Journeyman Established

    madali lng yan... ano language? c at java lang alam ko.

    ito algo ohh
    for(i=n;i>0;i--){ //n = input
    print("*");
    for(j=0;j<i-1;j++){
    print("*");
    }
    print("\n");
    }
     
  6. tnx po
    Sa sea sharp po pwede libre q po kayo ng load pag pwede promise
     
  7. Kazihaya

    Kazihaya Journeyman Established

    ito c# ohh
    for (i = n; i > 0; i--){
    Console.Write("*");
    for (j = 0; j < i - 1; j++){
    Console.Write("*");
    }
    Console.WriteLine("");
    }
     
    alliit likes this.
  8. Last question na lang po
    Ano po ung algorithm at flowchart nito
    Plsss mga boss
     
  9. tama na code nya . input process output lang yan sa flowchart boss
     
  10. Ano bang program na gagawin mo?

    Alam mo, ang flowchart kailangan mo yan para makagawa ka ng program.. Parang guide mo yan
    . PRA Hindi ka mawala. :)
     
    alliit likes this.
  11. Salamat po sa feedback
    Eh yung algorithm po
     
  12. Igoogle mo nalang ang algorithm.. Madami dun. :)
     
    alliit likes this.
  13. Pa answer nman po
    Algorthm nito ph
     
    Last edited: Mar 21, 2016
Tags / Keywords: