Home Qbasic Program Write a qbasic program to display perfect number or not. Write a qbasic program to display perfect number or not. By -ALK March 19, 2019 0 Ans:CLSINPUT "Enter a number ";nFOR j=1 TO n-1 IF n MOD j=0 THEN Sum=Sum+j END IFNEXT jIF n=Sum THEN PRINT "It is perfect number"ELSE PRINT "It is not perfect number"END IFEND 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