Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please give comments on what you did or why you put something in the code per line so i can get a better understand of

image text in transcribed
image text in transcribed
please give comments on what you did or why you put something in the code per line so i can get a better understand of the thinking process please and thank you
Week03_Chapter03_Lab Chapter 3 Lab Introduction to Software Lab Description: You will be creating a program that will calculate the GPA of a single semester based on the overall scores of one course. Naming Requirements: These are the names you are required to use for your lab project. Make sure the letter casing is also the same (for example, Example.java is not the same as example.java). Java file name: GpaCalculator.java Main class name: GpaCalculator Core Requirements: PART 1: Prompt the user to enter the overall percentage for a single class. For now, we will assume that the percentage will range from 0.0 through 100.0. This percentage should be stored in a variable. You do not need to perform validation to make sure that the scores are correct. You will learn how to do this in a later week. PART 2: Determine the letter grade based on the percentage provided. Use the following scale: For scores greater than or equal to 97.0 "A+" For scores greater than or equal to 93.0 For scores greater than or equal to 90.0 "A." For scores greater than or equal to 87.0 " B " For scores greater than or equal to 83.0 "B" For scores greater than or equal to 80.0 "B." For scare creater than or equal to 77.0 Week03_Chapter03_Lab For scores greater than or equal to 93.0 "A" For scores greater than or equal to 90.0 For scores greater than or equal to 87.0 "B " For scores greater than or equal to 83.0 "B" For scores greater than or equal to 80.0 "B." For scores greater than or equal to 77.0 *C+" For scores greater than or equal to 70.0 "C" For scores greater than or equal to 67.0 "D " For scores greater than or equal to 60.0 "D" For all other scores "F" And based on the letter grade, determine the GPA based on the following scale: . "A+"- 4.0 "A" - 4.0 . "A" 3.7 "B+" - 3.3 "B" - 3.0 "B" 2.7 "C+"-2.3 "C" - 2.0 "D+" - 1.7 . "D" 1.0 "F" 0.1 PART 3: Display the results. Display all of the results to the user. Make sure the information is properly labeled so that the user understands what they are reading. This means you should display: The percentage given by the user. The letter grade. The GPA

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Rules In Database Systems Third International Workshop Rids 97 Sk Vde Sweden June 26 28 1997 Proceedings Lncs 1312

Authors: Andreas Geppert ,Mikael Berndtsson

1997th Edition

3540635165, 978-3540635161

More Books

Students also viewed these Databases questions

Question

explain what is meant by the terms unitarism and pluralism

Answered: 1 week ago