-> CLS
INPUT "Enter the Radius"; R
A = 22/7*R^2
PRINT "Area of circle="; A
End
Tuesday, 22 October 2019
▪︎WAP to find Reverse digits.
-> CLS
INPUT "Enter any number"; N
S = 0
WHILE N<> 0
R = N MOD 10
S = S*10+R
N = N\10
WEND
PRINT "Reverse of digits="; S
END
INPUT "Enter any number"; N
S = 0
WHILE N<> 0
R = N MOD 10
S = S*10+R
N = N\10
WEND
PRINT "Reverse of digits="; S
END
▪︎WAP to display 1,12,123,1234,12345.
->CLS
FOR I = 1 TO 5
FOR J = 1 TO I
PRINT J ;
NEXT J
PRINT
NEXT I
END
FOR I = 1 TO 5
FOR J = 1 TO I
PRINT J ;
NEXT J
NEXT I
END
▪︎WAP to display 1,1,2,3,5...10th term.
-> CLS
FOR I = 1 TO 5
FOR J = 1 TO I
NEXT I ;
NEXT J
PRINT
NEXT I
END
FOR I = 1 TO 5
FOR J = 1 TO I
NEXT I ;
NEXT J
NEXT I
END
Subscribe to:
Posts (Atom)
Project
SWITCH Switch is a computer networking device that is used to connect many devices together on a computer network also it calle...
-
SWITCH Switch is a computer networking device that is used to connect many devices together on a computer network also it calle...
-
-> CLS A= 5 FOR I = 1 TO 10 PRINT A A= A+5 NEXT I END
-
" My father" ' My father tears and fears are unseen, his love is unexpressed, but his care and protection remain...