Saurabh+Sahu

1. write a program to print the expenese statement of 5 item in a tabular form.

10 CLS 20 INPUT "enter the first item:"; no1 30 INPUT "enetr the second item:"; no2 40 INPUT "enetr the third item :"; no3 50 INPUT "enetr the fourth item:"; no4 60 INPUT "enter the fifth item:"; no5 70 PRINT "enetr the first item"; TAB(20); no1 80 PRINT "enetr the second item"; TAB(20); no1 90 PRINT "enter the third item"; TAB(20); no3 100 PRINT "enter the fourth item"; (20); no4 110 PRINT "enetr the fourth item"; TAB(20); no5 120 END

2. write a program to input any two numbers and print their sum and product by leaving two lines in between.

10 CLS 20 INPUT "enter the first number:"; no1 30 INPUT "enter the second number:"; no2 40 sum = no1 + no2 50 PRINT sum 60 INPUT "enter the first number:"; no1 70 INPUT "enter the second number:"; no2 80 multi = no1 * no2 90 PRINT multi 100 END] 3.write a program to accept and print your name ,father name.adress. 10 CLS 20 INPUT "enter your father name:"; no1$ 30 INPUT "enter your name:"; no2$ 40 INPUT "enter your address:"; no3$ 50 END

4. write program to interchage two number.

10 CLS 20 INPUT "enetr the first number:"; no1 30 INPUT "enetr the second number:"; no2 40 no3 = no1 50 no1 = no2 60 no2 = no3 70 PRINT no1 80 PRINT no2 90 END 5. write a program to print area and circumference of a circle on al iving spaces in between. 10 CLS 20 INPUT "ENTER THE RADIUS OF A CIRCLE:"; R 30 AREA = (R * R) * 3.14 40 PRINT "THE AREA OF THE CIRCLE IS:"; AREA 50 CIR = (R * R) * (3.14 * 3.14) 60 PRINT "THE CIRCUMFERENCE OF THE CIRCLE IS:"; CIR 70 end

6. write a program to find in how many dayswill adriver cover a distance of 2800 kms if speed of acar is50 kms per hour. 10 CLS 20 DIST = 2800 30 SPEE = 50 40 TIME = DIST / SPEE 50 DAY = TIME / 24 60 PRINT "THE DISTANCE IS:"; DIST; "KM" 70 PRINT "THE SPEED IS:"; SPEE; "KM/H" 80 PRINT "THE TIME TRAVELLED IS:"; DAY; "DAYS" 90 end

10 CLS 20 PRINT "wish you a good day" 30 END