START INPUT year IF (year % 4 == 0) AND (year % 100 != 0 OR year % 400 == 0) PRINT "Leap Year" ELSE PRINT "Not Leap Year" END IF END
Start ↓ Input Year ↓ Check: Year %4 == 0 AND (Year %100 != 0 OR Year %400 == 0)? ↓ Yes → Print "Leap Year" No → Print "Not Leap Year" ↓ End
START INPUT num1 INPUT num2 sum = num1 + num2 PRINT sum END
Start ↓ Input num1, num2 ↓ sum = num1 + num2 ↓ Print sum ↓ End
START INPUT number FOR i = 1 TO 10 result = number * i PRINT number x i = result END FOR END
Start ↓ Input number ↓ i = 1 ↓ Check i ≤ 10 ? ↓ Yes → Print number × i i = i + 1 Repeat No ↓ End
START
INPUT a INPUT b temp1 = a temp2 = b WHILE b ≠ 0 remainder = a % b a = b b = remainder END WHILE HCF = a LCM = (temp1 * temp2) / HCF PRINT HCF PRINT LCM END
Start ↓ Input a, b ↓ Check b ≠ 0 ? ↓ Yes → r = a % b a = b b = r Repeat No ↓ HCF = a ↓ LCM = (temp1 × temp2) / HCF ↓ Print HCF and LCM ↓ End
START sum = 0 REPEAT INPUT value IF value == 'x' BREAK END IF sum = sum + value UNTIL value == 'x' PRINT sum END
Start ↓ sum = 0 ↓ Input value ↓ Check value = 'x' ? ↓ Yes → Print sum → End No ↓ sum = sum + value ↓ Repeat