Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2.1 2.1 Convert Celcius to Fahrenheit // Write a program that // reads a Celcius degree in a double value // coverts it to

Exercise 2.1 2.1 Convert Celcius to Fahrenheit // Write a program that // reads a Celcius degree in a double value // coverts it to Fahrenheit // fahrenheit = (9/5) * celcius +32 // Display the result Exercise 2.2 2.2 Compute the volume of a cylinder // Write a program that // reads the radius and length of a cylinder // computes the area and volume // area == radius * radius * 3.14 // voulme = area * length // Display the results Example 2.4 2.4 Convert pounds into kilograms // do the same as in 2.3 except convert pounds int kilograms // one pound = 0.454 kilograms Example 2.5 2.5 Calculate Tips // read the subtotal and the gratuity rate (as a decimal number) // calculate the amount of the tip // calculate the total // display the results Example 2.15 Distance between two points // Enter the coordinates of 2 points, x1 and y1 (x1, y1) and x2 and y2 (x2, y2) // calculate the distance between them // formula: distance = square root of [ (x2 - x1)squared + (y2 - y1)squared ]

THIS IS Elementary Programming Exercises . JAVA PROGRAMMING LANGUAGE USING BlueJ

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

Students also viewed these Databases questions