Computer Science, asked by surendraeverest, 5 months ago

write a algorithm to find the squares of even integers between 2 and 50.

Answers

Answered by yesiamin6
2

Answer :

  1. Start
  2. Declare a variable let's say n
  3. Assign the value 0 to it (n=0)
  4. 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 anindyaadhikari13
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