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 !!!


The answer is 40.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Rishi Maiti
Mar 18, 2014

easy

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...