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 March 18, 2019 0 Ans:CLSINPUT "Enter a number ";nFOR j=1 TO n IF n MOD j=0 THEN PRINT j Sum=Sum+j END IFNEXT jPRINT "Sum of factors ";SumEND Tags: Qbasic Program Facebook Twitter Whatsapp Newer Older
Feel free to leave your comment below or get in touch with me on WhatsApp/Viber number: +9779844128670