Advertisement
wuvic21

chapter3lab

Oct 9th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | None | 0 0
  1.  
  2. package chapter.pkg3.lab;
  3. import java.util.Scanner;
  4. public class Chapter3Lab {
  5.  
  6.    
  7.     public static void main(String[] args) {
  8.         problem1();
  9.              
  10.     }
  11.     public static void problem1(){
  12.       Scanner console = new Scanner(System.in);
  13.       String firstword = console.next();
  14.       String secondword = console.next();
  15.       String thirdword = console.next();
  16.       System.out.println(firstword);
  17.       System.out.println(secondword);
  18.       System.out.println(thirdword);
  19. }
  20.     public static void problem2(){
  21.        
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement