Java TOPIC 08 – KEYBOARD INPUT AND STRING BASICS LESSON WORK QUESTION 1 Write a
program that will ask the user for the width and length of a rectangle and
then output the area for that rectangle. Save your
work inside the file RectangleArea.java
in the topic08 folder. QUESTION 2 Write a
program that asks the user for their first name, then for their last name and
outputs Hello firstName lastName. Save your
work inside the file FullGreeting.java
in the topic08 folder. QUESTION 3 Write a
program that will ask the user for the radius of a circle. The program will then output the following
to screen: diameter, circumference and area. Save your
work inside the file CircleInfo.java
in the topic08 folder. |
|