Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package chapter.pkg3.lab;
- import java.util.Scanner;
- public class Chapter3Lab {
- public static void main(String[] args) {
- problem1();
- }
- public static void problem1(){
- Scanner console = new Scanner(System.in);
- String firstword = console.next();
- String secondword = console.next();
- String thirdword = console.next();
- System.out.println(firstword);
- System.out.println(secondword);
- System.out.println(thirdword);
- }
- public static void problem2(){
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement