Get input for the grade letter in string format.

Assignment Help JAVA Programming
Reference no: EM13941173

If the user enters 'numbers':

Get input for the grade number in decimal format. i.e. 74.22645 (enter it with 5 decimal places)

Utilize the Math class and round the number to zero decimal places, then use the int cast method to convert to an integer.

Utilize a switch statement to determine the corresponding letter grade.

Output the corresponding letter grade along with the initial number entered in decimal format utilizing the printf method and format specifiers. Output the number in only 3 decimal places.

if the user enters 'letters':

Get input for the grade letter in String format.

Utilize a switch statement to determine the corresponding output for the letter entered. (ensure you accept both upper and lower case letters.

Use the grading criteria from this course for the numbers. (you must use charAt( ) so the string will work with your switch)

Output the corresponding numbers values for the letter entered along with the letter initially entered.

Reference no: EM13941173

Questions Cloud

Deviant behaviour in the workplace : Unethical behaviour is closely aligned with deviant behaviour in the workplace. Recent studies indicate that this type of negative behaviour is still quite prevalent in today's modern workplaces.
Discuss the implications of employing portfolio insurance : Analyze the different derivative security tools involved in hedging, briefly explaining how each are used to attain its objective to lower risk. Discuss the implications of employing portfolio insurance in an investment portfolio. Distinguish between..
Impact a project success : Using online resources and research skills identify 4-5 factors that impact a Project's Success. Complete a thorough investigation and discuss these factors in detail.
What is the length of the firms operating cycle : ABC Foods has a receivables turnover rate of 15.1, a payables turnover rate of 8.7, and an inventory turnover rate of 12.4. What is the length of the firm's operating cycle?
Get input for the grade letter in string format. : Use the grading criteria from this course for the numbers. (you must use charAt( ) so the string will work with your switch)
Explain the importance of your credit standards : Assume you are a financial manager of a firm that sells most of its product on credit and also buys much of its raw materials on credit. Explain the importance of your credit standards that you extend to your customers. What are the options available..
Explain the macroeconomic and microeconomic concepts : Explain the macroeconomic and microeconomic concepts and how they relate to the management of a global organization
Addresses the human resource issues : Individually prepare an academic essay that addresses the human resource issues raised in the case study below.
How strictly adhering to investment strategy of dollar cost : Discuss how strictly adhering to an investment strategy of dollar cost averaging over time should always result in a lower average cost to the investor than if a share averaging strategy was followed. Describe the market environment when the investme..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd