Home Qbasic Program Write a qbasic program to display the LCM of any two input numbers. Write a qbasic program to display the LCM of any two input numbers. By -ALK March 19, 2019 0 CLSINPUT "Enter any two numbers ";a , bFOR j=1 TO a IF a MOD j=0 AND b MOD j=0 THEN Hcf=j END IFNEXT jLCM=(a*b)/HcfPRINT "LCM= ";LCMEND 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