Qbasic program to find amrstrong number
Answers
Answered by
0
Answer:
Azonic Nga-jato February 7, 2015 at 7:26 PM. Input "enter a number" ; N. For i = 1 to N. If N mod I = 0 Then f = f + 1. Next i. If f = 2 then. Print "prime" ...
Unknown October 24, 2015 at 7:16 PM. rem to find whether an input numbeer is prime or composite. cls. input "enter a number";n. for i = 2 to (n-1) r=n mod i. if r= 0 then.
Similar questions
Biology,
4 months ago
Accountancy,
4 months ago
India Languages,
8 months ago
Geography,
8 months ago
Social Sciences,
11 months ago
Math,
11 months ago
Science,
11 months ago