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 Java programs

Discussion in 'Coding, Programming' started by capusijake, Sep 20, 2016.

  1. Pa help po para sa java programs ng given problem, badly needed lang po.

    Write a program that will continuously
    ask the user a string and tell the user
    the length of the input
    until the user enters a space

    Write a program that will count the
    number of words in the input string
    given by the user

    Write a program that will print
    the last non-repeated character
    in the string given by the user

    Write a program that will capitalize
    all of the beginning of the words
    given by the user

    Write a program that will determine
    if the words supplied by the user
    are anagrams of each other




    Kailangan ko lang po talaga, pag aaralan ko po kung pano yung flow.


    Thank you
     
    chookie027 likes this.
  2. ronn1998

    ronn1998 Addict Established

    Hindi ba sa inyo tinuro ts? Oh baka hindi ka lang nakinig. XD
    Daming tanong yan ahhh...
     
  3. hehe switch case at looping statement yan search mu boss nasa book yan
     
  4. Ts string manipulation and if else lang yan ganyan din ako nung Simula palang ako sa pagaaral masyado akong nahirapan kaagad but pag pinagaralan mo yan sa sabihin mong napakadali lang pala
     
  5. Tig iisa po yan, medyo nahihirapan ako, since wala kamig books and reference.
    Medyo hindi na elaborate yung ibang lessons and lagi pa akong pinapatawag sa SSG.

    Sana may makatulong, don't worry, pag aaralan ko naman

    Ang malala, sa room namin lahat ng classmates ko naka android at may Aide, ako lang ang naka ios, wala akong pang java program
     
  6. jessboy

    jessboy Addict Established

    Search ka sa Google play my apps sa java programing...
     
  7. Case number 2 mo sir.

    public static int wordCount(String str){
    return str.split(" ").length;
    }


    Pwede mo ng gawing guide yan sir para sa case 4 mo. Na split na ang string sa word. Kunin mo na lang ang simula ng bawat word at iuppercase mo.
     
  8. Sir, I'm using iOS, and walang available na android device, wala rin akong mahanap na matinong app sa AppStore
     
  9. May online java compiler sir.
     
  10. PigsCanFly

    PigsCanFly Journeyman Established

    .length lang yan, do-while saka string manipulation. tingin ka sa site nato -> tutorialspoint
     
  11. Kaya mo yan sir...
     

    Attached Files:

    You must or Register to view Attachment.
  12. Guide mo yong sa case 2 sir. Masasagot niyan ang case 1 (split na ang word, kunin mo sa array ang length ng bawat word) at case 4 (kunin mo sa array ang word, gamit ang charAt kunin mo ang unang letter tapos toUpperCase mo). Sa akin, inuna ko ang case 5 (anagram) para masagot ko yong case 3 mo.
     
Tags / Keywords: