write a program to ask the user to enter a book name and its author. Then display
Fantastic news! We've Found the answer you've been seeking!
Question:
write a program to ask the user to enter a book name and its author.
Then display the book information exactly like the following example.
For example:
Input | Result |
---|---|
One Hundred Years of Solitude Gabriel Garcia Marquez | Enter your favourite book name: One Hundred Years of Solitude Enter the author's name: Gabriel Garcia Marquez Your favourite book is "One Hundred Years of Solitude" written by "Gabriel Garcia Marquez". |
The Odyssey Homer | Enter your favourite book name: The Odyssey Enter the author's name: Homer Your favourite book is "The Odyssey" written by "Homer". |
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date: