write a algorithm to find the squares of even integers between 2 and 50.
Answers
Answered by
2
Answer :
- Start
- Declare a variable let's say n
- Assign the value 0 to it (n=0)
- For loop n=2;n<=50;n++(incrementing n value)
if(n%2==0)
print(n*n);
5.stop
HOPE IT HELPS YOU
DO FOLLOW FOR MORE ANSWERS /PROGRAMS
MARK AS BRAINLIEST
Answered by
8
Question:-
- Write an algorithm to find the squares of even integers between 2 and 50.
Algorithm:-
STEP 1: START
STEP 2: Assign A=2
STEP 3: Assign C=A*A
STEP 4: Print C
STEP 5:Now, A=A+2
STEP 6: If A<=50 then goto STEP 3 ELSE GOTO STEP 7
STEP 7: STOP
Similar questions