Computer Science, asked by raviprakash7788reddy, 5 hours ago

Take values of length and breadth of a rectangle from the user and check it is square or not. Return area of a rectangle.
Input Format:
There will be two lines each will contain a single integer. The first line contains length and the second line contains width
Output Format:
There will be two lines the first will contain boolean True or False and the second will contain an integer that would be the area of a rectangle
Sample Input o:
5
5
Sample Output o:
True
25

Answers

Answered by lavsurya
0

Answer:

not. Return area of a rectangle.

Input Format:

There will be two lines each will contain a single integer. The first line contains length and the second line contains width

Output Format:

There will be two lines the first will contain boolean True or False and the second will contain an integer that would be the area of a rectangle

Sample Input o:

5

5

Sample Output o:

Similar questions