CLS
INPUT "Enter any number"; N
S = 0
WHILE N<> 0
R = N MOD 10
S = S+R
N = N\10
WEND
PRINT "Sum of didits="; S
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 INPUT "Enter base"; B INPUT "Enter height"; H A = 1/2*B*H PRINT "Area of triangle="; A END
No comments:
Post a Comment