Write a Java program that will display the following output:. Enter your name: Jane Doe Enter...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a Java program that will display the following output:. Enter your name: Jane Doe Enter the year you were born: 1977 Enter your sex: F Enter your major: Computer Science Enter your current GPA: 3.234 Enter how many A(s) you earned this semester: 2 Enter how many B(s) you earned this semester: 2 Enter how many C(s) you earned this semester: I Enter how many D(s) you earned this semester 1 Enter how many F(s) you earned this semester: 1 Major: Overall GPA: Semester GPA: Program Specifications: . Name: Sex: Age: . . Jane Doe Female 35 Computer Science 2.8 You are responsible for choosing to the variables (programmer-defined identifiers) The order in which you gather your input from the user is not important. Calculations o Calculate age based off this year's date o Semester GPA is based off the point system given for each grade and the number of courses. . A is 4 points, B is 3 points, C is 2 points, D is 1 point, and F is 0 points o Overall GPA is the average of semester GPA and current GPA Formatting o The dotted line as well as the information between those lines should have a similar format as far as spacing and position. Note: The number of dots in the line is not important, so let's say about 50. Note: The data in the output box is interactive, meaning that the data can differ based on what the user inputs. So, you program should not run as a static program, generating the same output regardless of what the user inputs. Write a Java program that will display the following output:. Enter your name: Jane Doe Enter the year you were born: 1977 Enter your sex: F Enter your major: Computer Science Enter your current GPA: 3.234 Enter how many A(s) you earned this semester: 2 Enter how many B(s) you earned this semester: 2 Enter how many C(s) you earned this semester: I Enter how many D(s) you earned this semester 1 Enter how many F(s) you earned this semester: 1 Major: Overall GPA: Semester GPA: Program Specifications: . Name: Sex: Age: . . Jane Doe Female 35 Computer Science 2.8 You are responsible for choosing to the variables (programmer-defined identifiers) The order in which you gather your input from the user is not important. Calculations o Calculate age based off this year's date o Semester GPA is based off the point system given for each grade and the number of courses. . A is 4 points, B is 3 points, C is 2 points, D is 1 point, and F is 0 points o Overall GPA is the average of semester GPA and current GPA Formatting o The dotted line as well as the information between those lines should have a similar format as far as spacing and position. Note: The number of dots in the line is not important, so let's say about 50. Note: The data in the output box is interactive, meaning that the data can differ based on what the user inputs. So, you program should not run as a static program, generating the same output regardless of what the user inputs.
Expert Answer:
Answer rating: 100% (QA)
java import javautilScanner public class StudentRecord public static void mainString args Scanner scanner new ScannerSystemin Get user input Systemout... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
1 April 30 Commissions revenue 15,350 Income summary 15,350 2 April 30 Income summary ? Insurance expense 130 Rent expense 2,900 Office supplies expense 1,000 Repairs expense 250 Telephone expense...
-
You have now been asked to work with a textile startup business that your firm has just taken on as a client. The business is particularly in need of support and guidance with budgeting and how it...
-
8) Implement a class UserNames which requires an ArrayList of names (user names), consider the following static methods methods: initilizeUserName(), deleteUserName(), addUserName() and display...
-
Repeat Exercise 56 for a semielliptical arch with a major axis of 40 feet and a height at the center of 15 feet. The dimensions of the truck are 10 feet wide by 14 feet high. Refer to Exercise 56, A...
-
Using molecular orbital theory, explain why the removal of an electron from O 2 strengthens bonding, whereas the removal of an electron from N 2 weakens bonding.
-
How is the sales volume in dollars necessary to reach a target profit calculated? a. target profit unit contribution margin b. target profit contribution margin ratio c. (fixed expenses + target...
-
After graduating from dental school two years ago, Dr. Lauren Farish purchased the dental practice of a long-time dentist who was retiring. In January of this year she had to replace the outdated...
-
11. An incompressible liquid is kept in a container having a weightless piston with a hole. A capillary tube of inner radius 0.1 mm is dipped vertically into the liquid through the airtight piston...
-
Imagine that instead of pipetting up to 1 mL of the 50-ppm stock solution of nitrite, you pipetted between 10-50 mL of the stock solution to make your standard solutions. What would your calibration...
-
Accounting for uncollectible accounts using the allowance method (percent-of-sales) and reporting receivables on the balance sheet At January 1, 2013, Mary's Local Store had Accounts Receivable of $...
-
JoJo Company signed a 18-month, non-interest-bearing note on October 31 for the purchase of $150,000 of merchandise. The face value of the note was $163,230. JoJo elects to use a discount account for...
-
Klein Corporation's statement of cash flows showed the following activities for the year ended December 31, 2022. Cash from operating activities: $ 30,000 Cash from investing activities: 15,000 Cash...
-
A special interest group in the U.S. has been lobbying intensely for protectionism through increased tariffs and trade restrictions, with the argument that it will save jobs in the industry they...
-
A. Evaluate the effectiveness of your goal and project outcome by doing the following: 1. Compare the results of two key performance indicators (KPIs) to the SMART+C goal and outcome statement you...
-
Answer the following questions after reading the article Below Discuss some of the similarities between the coast guard and accountants; do you agree with the similarities? Why or why not? What do...
-
Mitchell Corporation is a service firm. Of the following items listed, select the option that is not be the best activity base for cost analysis. units of inventory prouced in one month number of...
-
Match each of the key terms with the definition that best fits it. _______________ A record of the sequence of data entries and the date of those entries. Here are the key terms from the chapter. The...
-
Walter, a single taxpayer, purchased a limited partnership interest in a tax shelter in 1985. He also acquired a rental house in 2012, which he actively manages. During 2012, Walter's share of the...
-
Mary paid $2,000 of state income taxes in 2012. The total sales tax she paid during 2012 was $5,500, which included $3,000 for the cost of a new car. How should Mary treat the taxes paid on her 2012...
-
Frank, age 35, and Joyce, age 34, are married and file a joint income tax return for 2012. Their salaries for the year total $83,000 and they have taxable interest income of $4,000. They have no...
-
Many of the living organisms in Hawaii are found nowhere else on Earth. Hawaii has numerous unique species of plants, birds, insects, mammals, mushrooms, and other living things. Why?
-
Islands tend to have fewer species than the mainlands they resemble. Furthermore, island species often include many flying organisms and few terrestrial ones. Do these biogeographic patterns support...
-
Laura says she doesnt believe that humans were at one time chimpanzees or gorillas. Jeff says he doesnt believe it either. Explain why biologists also dont believe that humans are descended from...
Study smarter with the SolutionInn App