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 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
Get step-by-step solutions from verified subject matter experts
