Write a program that prompts a user to enter student emplid

Assignment Help JAVA Programming
Reference no: EM131824377

Assignment

Before attempting this project, be sure you have completed all of the reading assignments, hands-on labs, discussions, and assignments to date.

Write a Java program that prompts a user to enter student EMPLID (e.g., 12389), quiz 1 percentage score (e.g., 89.5), quiz 2 percentage score (e.g., 81.2), quiz 3 percentage score (e.g., 92.5), your age in months (e.g. 384) and the current temperature in degrees Celsius and then displays the data entered along with some conversions and calculations.

A minimum of 3 test cases should be supplied in the form of table with columns indicating the input values, expected output, actual output and if the test case passed or failed. This table should contain 4 columns with appropriate labels and a row for each test case. An example template is shown below. Note that the actual output should be the actual results you receive when running your program and applying the input for the test record.

The google recommended Java style guide, provided as link in the week 2 content, should be used to format and document your code. Specifically, the following style guide attributes should be addressed:

• Header comments include filename, author, date and brief purpose of the program.
• In-line comments used to describe major functionality of the code.
• Meaningful variable names and prompts applied.
• Class names are written in UpperCamelCase.
• Variable names are written in lowerCamelCase.
• Constant names are in written in All Capitals.
• Braces use K&R style.

You should capture and label screen captures associated with compiling your code, and running each of your 3 test cases.

You should use the command prompt and not a GUI for data entry and display. Here is a sample run:

Enter your Student EMPLID (0 - 999999): 43023
Enter your quiz1 percentage score (0.0 - 100.0): 80.6
Enter your quiz2 percentage score (0.0 - 100.0): 82.6
Enter your quiz2 percentage score (0.0 - 100.0): 92.1
Enter your age in months (0-1440): 384
Enter the current Temperature in degrees Celsius: 19.0

*** Thank you ***

Student EMPLID: 43023 Quiz 1 Score: 80.6
Quiz 2 Score: 82.6
Quiz 3 Score: 92.1
Average quiz score: 80.0 Age in months: 384
Age in years: 32

Temperature in Celsius: 19.0° Temperature in Fahrenheit: 66.2°

Note the following for the output for this application:

1. Degrees Celsius has been converted to degrees Fahrenheit on the output.
2. The temperature output provides the degrees symbol (°). (Hint: Use Unicode characters)
3. The average quiz score is calculated from the three quiz scores input.

Reference no: EM131824377

Questions Cloud

Make a histogram of the number of births : a) Make a histogram of the number of births. You may be surprised by the shape of the distribution. (Make a stem plot too if you like.)
What type of culture promotes a strong project environment : Describe how organizational culture is related to project management. What type of culture promotes a strong project environment?
What is a well worked plan to put a stop to soliciting : What is a well worked plan to put a stop to soliciting ?Which plan will have the least impact ?
List the elements of the sample space : A coin is tossed 3 times and the sequence of heads and tails is recorded. a) List the elements of the sample space.
Write a program that prompts a user to enter student emplid : Write a Java program that prompts a user to enter student EMPLID (e.g., 12389), quiz 1 percentage score (e.g., 89.5), quiz 2 percentage score (e.g., 81.2).
How many different dozens can you order : A donut store is offering a special price on a dozen (12) donuts. There are three varieties of donuts available: plain, glazed, and chocolate covered.
Find the smallest number n such that a random group : Find the smallest number n such that a random group of n people has a greater than 50% chance that two (or more) people in the group share a common birthday.
What local legal tools are available : What local efforts have been taken to respond to the drug problem through prevention and what has the effect been on the local community?
Assumption of a uniform distribution of birthdays : Further discussion of the birthday problem without the assumption of a uniform distribution of birthdays can be found in [Ber80].

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