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

  This project mainly focuses on explaining your

this project focuses on demonstrating your understanding of java collections. before attempting this project be sure

  Tracer for java

Implementation of a tracer of Java objects and the tracer can be invoked from any point of a Java program, accepting an object as argument.

  Two types of gui components might be useful

Radio buttons and check boxes are two of many different kinds of components that can be included in a graphical user interface. How are they similar and how are they different? Which kind requires grouping? Give an example of an application where eac..

  Develop the implementation file student.cpp

Required to implement the class to develop the implementation file Student.cpp that conforms to the following specifications

  Point class that represents points on an x, y axis

Write a Point class that represents points on an x, y axis. The data members should be doubles x and y plus an int value called count that represents the number of points currently instantiated

  Write a monitor to control the thirsty people and server

The thirsty person who can make a drink from those two items will pick them up and drink a glass of ice water. Write a monitor to control the thirsty people and the server.

  How to access to elements of document object model

To limit creation of malicious code, do you believe that access to elements of document object model and some Javascript functionality be limited?

  Support for cloud-based strategies

In this course, you are introduced to general Windows Server concepts like active directory, group policy, security, networking and IIS, access control, and much more. Now that you understand the basic concepts, we will delve a little deeper and l..

  Each instance of this class will represent one book a book

each instance of this class will represent one book. a book consists of the title of the book a string and the authors.

  The application with all the specifications should be

the application with all the specifications should be developed based on a graphical user interface.1. implement proper

  Write a java application program called largest.java

Write a Java application program called Largest.java that inputs a series of 10 single-digit numbers and determines and prints the largest of the numbers

  Write a java gui program that has eight tabs

I need to write a java gui program that has 8 tabs, General, Options, Customers, Contractors, Pools, Hot Tubs, Temp Calc, and Length Calc. Each pane needs an Exit button that will close only that pane.

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