Home Qbasic Program Write a qbasic program to display the factors and sum of factors for an input number. Write a qbasic program to display the factors and sum of factors for an input number. By -ALK 9:31:00 PM 0 Ans: CLS INPUT "Enter a number ";n FOR j=1 TO n IF n MOD j=0 THEN PRINT j Sum=Sum+j END IF NEXT j PRINT "Sum of factors ";Sum END Tags: Qbasic Program Facebook Twitter Whatsapp Newer Older
Your suggestions / query encourages more to share things like this. Feel free to comment in below box.
What ever you think about it...