JavaRush
Course
Tasks
Games
Help
Subscriptions
Success stories
Chat
Forum
Articles
Friends
Activity
Question
  • Reviews
  • About us
Start
Start learning
  • All questions
ROBERT KOSS
Level 3
Panama City
  • 28 February 2019
  • 648views
  • 3comments

can someone give me the code down below please and thank you

Question about the task Favorite poem
Java Syntax,  Level 1,  Lesson 8
Resolved


0
Comments (3)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Thomas Level 7, Scottsdale, United States
15 May 2019, 00:18решение
// Plug in your favorite poetry ; Make sure you get your words count over Required in challenge !
// Tribute to Cat in the hat

String fish1 = "'put me down!' said the fish.";
String noFun = "'this is no fun at all!";
String fish2 = "put me down!' said the fish.";
String noFall = "'i do NOT wish to fall!'";
String noFear = "'have no fear!' said the cat.";
String noFall2 = "'i will not let you fall. i will hold you up high";
String theRest = "as i stand on a ball. with a book one one hand! and a cup on my hat!";
String theRest2 = "but that is not ALL i can do! said the cat...";


    System.out.println("My favorite poem:");
    System.out.println(fish1);
    System.out.println(noFun);
    System.out.println(fish2);
    System.out.println(noFall);
    System.out.println(noFear);
+2
ROBERT KOSS Level 3, Panama City, United States
1 March 2019, 18:56
ive got it now thanks.
0
Khurram Level 16, Lahore, Pakistan
1 March 2019, 17:00
just display 4 lines of any poem (or any text for that matter) using println after the "My favorite poem" line
0
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
About
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
Video
  • Top 3 features of CodeGym
  • "Course" section
  • About the "Tasks" section
  • "Games" section
Follow us
Interface language
© 2021 CodeGym Programmers Are Made, Not Born
© 2021 CodeGym Programmers Are Made, Not Born