Question: in java please CS101 | Lab 1-Bis 1) Write a program that takes as inputs the 2 values x and y. This program should compute

 in java please CS101 | Lab 1-Bis 1) Write a program

in java please

CS101 | Lab 1-Bis 1) Write a program that takes as inputs the 2 values x and y. This program should compute and return the value of z using this equation: z=x+4y. The program should also compute and return the average value of x, y, and z. 2) Write a Java program that takes as inputs the height and the width values of a rectangle and allows to print the area and perimeter of this rectangle. 3) Write a program that asks the user to input 2 numbers x and y, then swap the values of x and y

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!