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!

Java Need help po

Discussion in 'Coding, Programming' started by capusijake, Aug 23, 2016.

  1. May oral test po kase kami sa Java Programming,
    ask ko lang po kung ano yung Java Program for this Problem.


    "Ask the user for a string and get the 1st, 5th, and 7th character and combine them with "speak""


    Example:
    Remakks

    Rksspeaks


    Johnjoseph

    Jksspeaks



    Please I need help po, 8AM po simula ng klase namin ,


    Thank you

    Up
     
  2. Xifu

    Xifu Honorary Poster Established

    I'm a bit busy right now para magconstruct. Use this as your ref and/or you can concatenate them with "+ speak"

    String myString = "phcorner";
    char c = myString.charAt(7);
    System.out.println(c);
     
Tags / Keywords: