Question: in pseudocode for java Create a driver program which does the following 3) Create a triangle with sides 18, 30 and 24. Calculate its area,

in pseudocode for java

Create a driver program which does the following

in pseudocode for java Create a driver program which does the following3) Create a triangle with sides 18, 30 and 24. Calculate its

3) Create a triangle with sides 18, 30 and 24. Calculate its area, perimeter and height and print them as follows: Area of a triangle 18x30x24 is 216 it's perimeter is 72 and it's height is 24 4) Create a triangle of size 3,4,5 by calling the constructor with no parameters. Calculate its area, perimeter and height and print like the one above. Create a driver program which does the following: 1) Using a loop print out the area and circumference of circles with radius 1, 2, 3 ... 9, 10. Here is what the first line should look like: Area of a circle with radius 1 is 3.14159265358979 circumference is 6.28318530717959 2) Using nested loops, print out the area and perimeter of rectangles with width 1, 2 and 3 and heights 1, 2, and 3. le, you'll print out the area and perimeter for a rectangle 1x1, 1x2, 1x3,2x1, 2x2, 2x3, 3x1, 3x2, and 3x3. The first line should look like: Area of a rectangle 1 by 1 is 1 it's perimeter is 4 3) Create a triangle with sides 18, 30 and 24. Calculate its area, perimeter and height and print them as follows: Area of a triangle 18x30x24 is 216 it's perimeter is 72 and it's height is 24 4) Create a triangle of size 3,4,5 by calling the constructor with no parameters. Calculate its area, perimeter and height and print like the one above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!