Little Arman wants to buy kinect,Sony xperia phone and Samsung smart tv. Kinect costs 159 $,Samsung smart tv costs 1999,999 $ and Sony xperia costs 999 $.He has collected 3181 $ but he doesnot know how much money he will give for it.His dad made a programme in QBASIC for him.This is code for it :
20 INPUT " Type in the cost " ; a
30 x = 3181
50 PRINT "If you buy that,you will have " ; y ;"$"
But this programme doesnt work.You need to help dad to find out in which row he made a mistake !!!