Answered step by step
Verified Expert Solution
Question
1 Approved Answer
When you distribute information you found from another source, you must always cite your source. The MLA format for a formal citation for a book
When you distribute information you found from another source, you must always cite your source.
The MLA format for a formal citation for a book is as follows:
Last name, First name of author. Title of the Book. Publisher, Year of publication.
Write a citation generator. Your program should ask for
- The author's name in the form "Last Name, First Name"
- The title of the book
- The publisher
- The date the book was published
Then print out the information in the format shown above. Pay attention to the periods and commas!
Starter code:
import java.util.Scanner;
public class Main { public static void main(String[] args) { // Start here! } }
Submit a screenshot of your code and output for grading.
Here is an example output:
Enter the author's name as 'Last name, First name': Collins, Suzanne Enter the title of the book: The Hunger Games Enter the publisher of the book: Scholastic Enter the year the book was published: 2008 Collins, Suzanne. The Hunger Games. Scholastic, 2008.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The Java program that generates MLA citations for books based on the provided input i...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started