Write an algorithm that accept a length of the side of a square and display it area
Answers
Answered by
1
Step1: Initialize variable for length and Area
int l,a.
Step2: Apply area = l * l.
Step3: Take final result in a variable.
Step4: Show a.
Thanks
int l,a.
Step2: Apply area = l * l.
Step3: Take final result in a variable.
Step4: Show a.
Thanks
Answered by
3
STEP 1: Start
STEP 2: Read Number, say (N)
STEP 3: Find square of a number, (N×N)
STEP 4: Display square
STEP 5: Stop
Explanation:
Similar questions