Home Qbasic Program Write a qbasic program to display the HCF of any two input numbers. Write a qbasic program to display the HCF of any two input numbers. By -ALK 9:35:00 PM 0 Ans: CLS INPUT "Enter any two numbers ";a , b FOR j=1 TO a IF a MOD j=0 AND b MOD j=0 THEN Hcf=j END IF NEXT j PRINT "HCF= ";Hcf 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...