Dad,i want Kinect for xbox,Sony Xperia and Samsung smart tv !!!

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 : 10 CLS 20 INPUT " Type in the cost " ; a 30 x = 3181 40 y=x+a 50 PRINT "If you buy that,you will have " ; y ;"$" 60 END But this programme doesnt work.You need to help dad to find out in which row he made a mistake !!!

×

Problem Loading...

Note Loading...

Set Loading...