Perimeter radius system radius radius input area and perimeter area math radius radius perimeter math radius results system creates line between compared using infront and the back system information starts string new line system radius radius system area system perimeter study source was downloaded from coursehero gmt this study source was downloaded from coursehero gmt
//Objective of Lesson 2
//-Object-oriented design concepts (abit of theory) //Basic features of a Java Program
//-Variable identifiers
//-Data type
//-Arithmetic operators
//-Assignment statements
//-Use of print and println methods
//-Library functions (methods) defined in the math class //-How to do reading
//-Static variables defined in a class
//-How to swap two elements of any data types
//-Use division and modulus operators
//Lab 2 is out (can try)//Declare variables
double radius;
double area, perimeter;//Read in a radius
System.out.print("Enter a radius: ");
radius = input.nextDouble();
| } |
|---|
This study source was downloaded by 100000869900781 from CourseHero.com on 09-04-2023 13:38:28 GMT -05:00


