Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * File Name: PoemGen.java
- * Purpose: Prints a simple Roses are red poem.
- * Author: Pranav Ramesh
- */
- public class PoemGen {
- public static void main(String[] args) {
- // The main method that prints the program.
- System.out.println("Roses are red\nViolets are blue\nSugar is sweet\nAnd so are you!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement