SHARE
TWEET

Untitled

a guest Sep 20th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  
  3.  * File Name: PoemGen.java
  4.  
  5.  * Purpose: Prints a simple Roses are red poem.
  6.  
  7.  * Author: Pranav Ramesh
  8.  
  9.  */
  10.  
  11.  
  12.  
  13. public class PoemGen {
  14.  
  15.     public static void main(String[] args) {
  16.        
  17.         // The main method that prints the program.
  18.        
  19.         System.out.println("Roses are red\nViolets are blue\nSugar is sweet\nAnd so are you!");    
  20.     }
  21.  
  22. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top