SHARE
TWEET

Untitled

a guest Feb 27th, 2020 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Addie Dale
  2. // Regan 1st hour CS2
  3.  
  4. import java.util.Scanner;
  5.  
  6. public class Program
  7. {
  8.  
  9.     public static void main(String[] args)
  10.     {
  11.  
  12.         String message = "New Orleans";
  13.        
  14.         Scanner sc = new Scanner(System.in);
  15.  
  16.  
  17.        
  18.         System.out.println( message.length() );
  19.         System.out.println( message.toUpperCase() );
  20.         System.out.println( message.toLowerCase() );
  21.         System.out.println(message);
  22.         System.out.println(message.charAt(0) );
  23.         System.out.println(text.subString);
  24.        
  25.         message = sc.nextLine();
  26.        
  27.        
  28.         System.out.println(message);   
  29.  
  30.     }
  31.  
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top