CLS
INPUT 'Enter any number'; N
A = N
S = 0
WHILE N <> 0
R = N MOD 10
S = S+R^3
N = N\10
WEND
IF A=S THEN
PRINT "The number is armstrong"
ELSE
PRINT "The number is not armstrong"
END IF
END
Subscribe to:
Post Comments (Atom)
Peer to Peer Network
Peer to Peer Network Peer-to-Peer is a network model in which each computer can function as both a client and a server. Any computer in th...

-
My Father My father name is Sujan Ram Bhattarai. He is 40 years old. He is a gentle man. A father is a...
-
Experience on the drama, aadhi ko manorum nittya. On 2076/1/26 our school take us to watch a b...
-
CLS FOR I = 1 TO 5 FOR J = 1 TO I PRINT I; NEXT J PRINT NEXT I END
No comments:
Post a Comment