input a number and display its square if its less then 50 else display its cube
VemugantiRahul:
A c program ?
Answers
Answered by
2
REM PROGRAM TO DISPLAY SQUARE OF AN INPUT NUMBER
CLS
INPUT “ENTER ANY NUMBER”; N
S = N ^ 2
PRINT “SQUARE OF NUMBER ”; S
END
hope it will help you
CLS
INPUT “ENTER ANY NUMBER”; N
S = N ^ 2
PRINT “SQUARE OF NUMBER ”; S
END
hope it will help you
Similar questions