Computer Science, asked by SnakeByte8985, 8 months ago

Qbasic program to find amrstrong number

Answers

Answered by aadil1290
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