Computer Science, asked by mahabirtanti, 10 months ago

2. Write a program to print a paragraph that contains description of your favorite book in
5-6 lines, include the name of the book as well as its author. In big and bold letters.
Names of the characters should be underlined; adjectives in the par
pe underlined, adjectives in the paragraph should be
italicized and bold.

Answers

Answered by Anonymous
1

Answer:

import java.io.*

class favbook

{

public static void main(String []args)

{

System.out.println("Book Name: The Fault in Our Stars");

System.out.println("Author Name: John Green");

System.out.println("This novel is about a sixteen year old girl Hazel Grace Lancaster who has thyroid cancer that has spread to her lungs. Then she meets a seventeen year old boy named Augustus Waters suffering from osteosarcoma. This novel is centered around romance, anger, despair. In this novel John Green takes us on a journey both terrible and beautiful. This novel potrays that true love is eternal.");

}

}

Similar questions