Question: Wk6 in Class-Thurs PROGRAM 1: Write a program to compute whether or not the dimensions of a shape input by the user is a square.
Wk6 in Class-Thurs PROGRAM 1: Write a program to compute whether or not the dimensions of a shape input by the user is a square. The user should be prompted to enter the length and width of the shape. Output should show whether or not that can be a square. Function prototypes: void intro: int getside(): // called twice bool isSquarefint,int); // returns true if the two dimensions make a square void showAnswerbool, int, int // shows the 2 sides lengths and whether or not it can be a square
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
