Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Program {
- public static void main(String[] args) {
- String name;
- char letter;
- name = "Blastoff"
- ;
- for(int i=0; i<name.length(); i++) {
- letter = name.charAt(i);
- }
- System.out.println("How many seconds to liftoff");
- System.out.println("3!");
- System.out.println("2!");
- System.out.println("1!");
- System.out.println(name + "!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement