Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1: Complete the pseudocode Below is the partial pseudocode but without the calculation part. You need to fill in lines that are express in

image text in transcribed

Task 1: Complete the pseudocode Below is the partial pseudocode but without the calculation part. You need to fill in lines that are express in English and how to calculate the total of the bill between brackets Complete this task by opening a Word document and filling in the pseudocode show below,as well as the missing lines. Call this section of the Word document called studentIDlabltask1.doc. Display "Amount of the biu?" Input amount type the answer> Display "How much is the sales tax?" Input sales tax->type the answer> Display "What is the tip (percentage)" lu us.cin (%)-> Task 2: Java Programming Note that the pseudo Code above does not include programming details such as class declaration, main method etc. The pseudo code does not include identifier declarations. You will have to determine what variable and type before completing the program. Open your favorite software development kit and code the pseudo code in Java Be sure to include the author name using comments at the beginnin Verify syntax and logic error before compilingyour program. Save the program as bill.java Compile bill.java using the the SDK tool or thecommand in the terminal. Execute the g of the program. program using the SDK tool in the java command in the terminal During the execution the program will ask the user for input (total, sales tax, tip). You should calculate several different cases by hand Fill in the chart below with your test cases and the result you get when calculating by hand. Execute the program using your first set of data. Record your result in the Word document called studentiDlabltask.doc (previously created). You will need to execute the program at least two times with different scenarios. Note you do not need to compile again. You only need to compile again ifyou make changes to the code Gradin .25 points for the Word document (pseudo code). The results must be also included in the word documents. Points for results are part of the completeness rubric. .40 points (20 completeness, 10 comments, 10 naming convention) for the java program bill.java .Extra points (20 points). Write a program that calculate the area of a circle and the volume of a sphere. Ask the user to enter the required parameters for these problems

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

More Books

Students also viewed these Databases questions