Qbasic Programm Examples

April 2, 2018 | Author: dayas1979 | Category: Alphabet, Mathematics, Science, Computing And Information Technology


Comments



Description

Q-BASIC PROGRAMS1)Write a program to enter your name and print it . CLS Input 'Enter you name';n$ Print 'The name is';n$ End 2)Write a program to enter your name, city, country, age and print them. CLS Input " Enter the name ";N$ Input " Enter the city";C$ Input " Enter the country";CO$ Input " Enter the age";A Print " The name is ";N$ Print " The city is ";C$ Print " The country is ";CO$ Print " The age is ";A End 3)Write a program to find the area of rectangle. Cls Input " enter the length " ;l Input " enter the breadth " ;b let A = l*b Print" the area of rectangle=" ;a End 4)Write a program to find the area of the triangle. Cls Input " enter the base" ;b Input " enter the height" ;h let T = 1/2*b*h Print" The area of triangle=" ;T End 5)Write a program to find the area of the circle. Cls Input" Enter the radius " ;R Let C=22/7*R^2 Print " The area of circle =" ;C End 6)Write a program to find the circumference of the circle. Cls Input" Enter the radius " ;R Let Circumference=22/7*R*2 Print " The area of circle =" ;Circumference End 7)Write a program to find the area of the square. Cls Input" Enter the number" ;n Let square= n^2 Print" The area of square=" ;Square End 8)Write a program to find the area of the square and cube. Cls Input" Enter the number" ;n Let square= n^2 Let Cube = n^3 Print" The area of square=" ;Square Print" The area of cube=" ; Cube End 9)Write a program to find the volume of the box. Cls Input " enter the length " ;l Input " enter the breadth " ;b Input " enter the height " ;h Let Volume= l*b*h Print" The volume of box =" ;Volume End M End 12)Write a program to convert the distance from miles to kilomiles.10)Write a program to convert the weight from kilogram to pounds.P End 11)Write a program to convert the distance from kilometer to miles. CLS Input"Enter the weight in kilogram".6 Print" The length in kilo miles=".M Let K=M*1.K Let P=K*2.6 Print "The length in miles =". Cls Input"Enter the length in kilometer". Cls Input " Enter the length in miles". .2 Print "The pound is ".K End 13)Write a program to enter the initial mileage(m1) and final mileage (m2) then calculate the distance traveled.K Let M= K / 1. Cls Input " Enter the Principal".R Input " Enter the Time".D End 14)Write a program to find out the simple Interest.M1 Input "Enter the Final Mileage".R Input " Enter the Time".P Input " Enter the Rate".A End 16)Write any number and find it's half. N Let H = N/2 .I End 15)Write a program to find out the simple Interest and the Amount.T Let I = P*T*R/100 Print " The simple Interest = ". Cls Input "Enter the desired number ".T Let I = P*T*R/100 Let A= P + I Print " The simple Interest = ".I Print " The amount=".P Input " Enter the Rate".CLS Input "Enter the Initial Mileage". Cls Input " Enter the Principal".M2 Let D= M2-M1 Print " The distance covered=". C Let Sum = A+B+C Let Average =Sum/3 Print" The sum=" .H Input"Enter the length ". Cls Input " Enter any number" .H END 17)Write a program to find the area of four walls of a room. Cls Input"Enter the height ".A End 18)Write a program to find the perimeter of a rectangle.b Let P=2*(l+b) Print" The perimeter of rectangle=" .sum and the average. L Input"Enter the Breadth".Sum Print" The Average is " .A Input " Enter any number" .P End 19)Write a program to enter any three numbers.Print "The half of the number = ".Average . Cls Input " enter the length " .B Input " Enter any number" .B Let A= 2 * H * (L+B) Print " The area of four walls =".l Input " enter the breadth " . Cls Input" Enter the number " .B Input" Enter the number " .M .find the total and average marks.A Input" Enter the number " .Avg End 22)Write a program to input student's name.End 20)Write a program to enter any two numbers their Sum.B Let Sum = A+B Let Difference= A-B Let Product = A*B Print" the sum =" .N$ Input" Enter the marks in English" .E Input" Enter the marks in Maths" .A Input " Enter any number" .Product and the Difference.marks obtained in four different subjects.Sum Print" the Difference =" . CLS Input " Enter any number" .C Let Avg= (A+B+C)/3 Print" The average=" .Difference Print" the Product =" . Cls Input" Enter the name " . Product End 21)Write a program to find the average of three different numbers. 6 Print " The miles = " .S Print " The Average marks" .T Print " 20%of input number=" .N$ Print " The total marks is" .P End .20% and 30% of the input number. Cls Input" Enter any number" .N Let T=10/100*N Let Twe=20/100*N Let Thi=30/100*N Print " 10%of input number=" .M End 25)Write a program to find the perimeter of square. Cls Input" Enter the kilometer" . Cls Input “Enter the length”.Input" Enter the marks in Science" .Thi End 24)Write a program to convert the distance to kilometer to miles.A End 23)Write a program to find 10%.S Input" Enter the marks in Nepali" .Twe Print " 30%of input number=" .N Let S=E+M+S+N Let A=S/4 Print " The name of the student is" .K Let M=K/1. L Let P =4 * L Print “ The perimeter of square=”. N If N>0 Then Print “ The number is positive” Else Print “The number is negative” EndIf End 29)Write a program to enter any number and find out whether it is even or odd using select case statement.I End 28)Write a program to enter any number and find out whether it is negative or positive. CLS Input “Enter the Indian currency” . CLS Input “Enter the Nepalese currency” . CLS Input “Enter the number”.N Let N = I / 1.26)Write a program to enter the Nepalese currency and covert it to Indian Currency. .I End 27)Write a program to enter the Indian currency and covert it to Nepalese Currency.N Let I = N * 1.6 Print “the Indian currency=”.6 Print “the Nepalese currency=”. Case 2 Print “It’s a number 2”. Case 3 Print “It’s a number 3” Case else Print “It’s out of range”. End select End 31)Write a program to enter any alphabet and test alphabet is ‘a’ or not using the select case statement. Cls Input “Enter the alphabet”.Cls Input “Enter any number” .N R=N mod 2 Select case R Case = 0 Print “The number is Even number” Case Else Print “The number is odd number” End Select End 30)Write a program to check the numbers between 1 & 3.N Select case N Case 1 Print “It’s number 1”.A$ A$=UCase$ (A$) Select Case A$ Case ‘A’ . Cls Input “Enter the numbers between 1-3”. 1. “O”.50 CLS For I = 1 to 50 Step 1 Print I Next I End 34)Generate the following numbers using For….3. 1.3.Next….7.….Loop. “E”. Cls Input “Enter Letters/Alphabet”.2. “I”...5. “U” Print “Its’ a vowel” Case Else Print “ It’s not a vowel” End Select End 33)Generate the following numbers using For…....A$ A$ = UCase $ (A$) Select case A$ Case “A”.Print “It’s alphabet A” Case Else Print “It’s not alphabet A” End Select End 32)Write a program to enter any alphabet and find out whether the number is vowel or alphabet.4.Loop.99 Cls For I = 1 to 99 Step 2 Print I Next I ..Next….9. .End 35)Generate the following numbers using For….30.…100.5.Next….40.7.…99 ClsFor I = 1 to 99 Step 2 Print I Next I End 37)Generate the following numbers using For…..Next….10.15. .…90 Cls For I = 5 to 90 Step 5 Print I Next I End 38) Generate the following numbers using For…..Loop. 1. 10. 5.10.Loop.4.Next….Next….3..Loop.20.8.Loop. 2.…50 Cls For I = 2 to 50 Step 2 Print I Next I End 36)Generate the following numbers using For….6. 9. Cls I=1 While I<=100 Print I .3.5.6..…99 CLS . I=I+1 WEND END 40)Generate the following numbers using For…. I=I+2 WEND END 41)Write a program to print numbers stated below USING WHILE…WEND STATEMENT.4.7.8. 2.10….Cls For I = 10 to 100 Step 10 Print I Next I End 39)Write a program to print numbers stated below USING WHILE…WEND STATEMENT. 1.50 CLS I=2 While I < =50 Print I.Next….Loop. Copyright. MelMay 7. 2012 at 11:50 AM Do you think you could help me write some Qbasic statements? I have a final due tomorrow and i am so lost! Reply .4.9.Thank You. I=I+2 WEND END 42)Write a program to print numbers stated below USING WHILE…WEND STATEMENT.…upto 10th term. I=I+1 WEND END *Please comment if you find anything wrong.I=1 While I <=99 Print I. 1. Posted by Aayush kc at 232 comments: 1. CLS I=1 While I < =10 Print I^2. . Dawn SharmaMarch 16. 2013 at 9:38 PM thank u soo much this is so useful for my test but i needed two more Reply 3. I'm gonna ace my final!! =) Reply 4. 2015 at 10:30 AM need some more. XD Reply 2. i can help. UnicodistJune 1.AJanuary 2. please include code and its descriptions also Reply 5. Lagari . 2017 at 1:51 AM Yeah. vishnu priyaDecember 6. Replies 1. 2014 at 9:51 PM THANK YOU SOOOO MUCH!! I seriously don't get QBASIC and I was absent when my teacher taught us how to do some programs. 2015 at 8:36 AM 5 55 555 5555 55555 555555 5555555 55555555 And NEPAL NEPA NEP NE N Will you help me to solve this two program please Reply Replies . Deborah IbidapoJanuary 2. 2015 at 10:02 PM thank you i have learned program which is more useful to me add more program to develop the skill on qbasic Reply 7. shashi kanthcnFebruary 3. bishal pahariMarch 18. 2015 at 1:00 PM how bout statements for calculating average? Reply 6. b input "enter ur score for chemistry ". 2015 at 5:49 AM CLS A=5 For I =1 to5 Print A. A=A*10+4 Next I End 2. a input"enter ur score for English ". Princess AdeJanuary 25.1. 2017 at 5:23 AM Input "enter ur score for math". f let sum=a+b+c+d+e+f let av=sum/6 Print sum. d input "enter ur score for economic ". e input "enter ur score for statistics ". Piyush Kumar RaiFebruary 11. kpDecember 20. av end 3. c input "enter ur score for agric". 2017 at 4:34 AM 5 55 555 5555 55555 555555 5555555 55555555 FOR I = 1 TO 8 . FOR J = 1 TO I PRINT "5"; NEXT J NEXT I 4. Adil MannanMarch 1, 2017 at 2:21 PM This helped me a lityle but I will suggest to take iswas from this and understand the test from book.THANK YOU=:-). Reply 8. Apar BhandariAugust 5, 2015 at 6:16 PM CLS A$="55555555" for i=1 to len(A$) PRINT left$(A$,I) next end --------------------------------------------------------------------------------------------------------------- - CLS A$="NEPAL" FOR i=len(A$) to 1 step -1 print left$(A$,I) next end Reply 9. Apar BhandariAugust 5, 2015 at 7:28 PM CLS A$="55555555" for i=1 to len(A$) PRINT left$(A$,I) next end --------------------------------------------------------------------------------------------------------------- - CLS A$="NEPAL" FOR i=len(A$) to 1 step -1 print left$(A$,I) next end Reply 10. Prapti ΩAugust 30, 2015 at 7:30 AM This comment has been removed by the author. Reply 11. UnknownSeptember 16, 2015 at 9:47 AM Please help me to make a calculator that can convert celsius to fahrenheit and vice versa.... Reply Replies 1. Giorgio GiorginiDecember 25, 2015 at 12:38 PM REM *** By Giorgio, Italy *** CLS 2000 PRINT "Convert Celsius to Fahrenheit and vice versa" PRINT PRINT "1) " + CHR$(248) + "C --> " + CHR$(248) + "F" PRINT "2) " + CHR$(248) + "F --> " + CHR$(248) + "C" PRINT "3) Exit" PRINT INPUT "Type 1,2 or 3 ", a PRINT IF a = 1 THEN GOSUB 3000 IF a = 2 THEN GOSUB 4000 IF a = 3 THEN END GOTO 2000 3000 REM *** c to f *** CLS INPUT "Type Celsius ", C F = C * 1.8 + 32 PRINT PRINT C, CHR$(248) + "C = ", F, CHR$(248) + "F" PRINT RETURN 4000 REM *** f to c *** CLS INPUT "Type Fahrenheit ", F C = (F - 32) / 1.8 PRINT PRINT F, CHR$(248) + "F = ", C, CHR$(248) + "C" PRINT RETURN 2. UnknownFebruary 24, 2016 at 8:46 AM Make a program to enter the marks of five subject and their total and average 3. aver END Reply .add PRINT "The average marks is: ". B INPUT "ENTER THE MARKS OF SUBJECT 3".e 'Mathmatical Formulas LET add = a + b + c + d + e LET aver = (a + b + c + d + e) / 5 PRINT "The total is: ". C INPUT "ENTER THE MARKS OF SUBJECT 4".a INPUT "Enter marks of 2nd Subject". Aryaman MittalFebruary 24. D INPUT "ENTER THE MARKS OF SUBJECT 5". E SUM = A + B + C + D + E AVERAGE = (A + B + C + D + E) / 5 PRINT "TOTAL=".b INPUT "Enter marks of 3rd Subject". SUM PRINT "AVERAGE=".c INPUT "Enter marks of 4th Subject". HAPPYMarch 2. A INPUT "ENTER THE MARKS OF SUBJECT 2". 2016 at 8:47 AM Make a program to enter the marks of five subject and their total and average 4. 2017 at 12:26 AM CLS 'We will input 5 subjects INPUT "Enter marks of 1st Subject". UnknownMay 1. AVERAGE END 5. 2017 at 1:04 AM CLS INPUT "ENTER THE MARKS OF SUBJECT 1".d INPUT "Enter marks of 5th Subject". .. Italy *** CLS 2000 PRINT "Calcola fattoriale . a PRINT IF a < 1 THEN END FOR l = 1 TO a n=n*l NEXT l PRINT n . 2015 at 1:39 PM REM *** By Giorgio. 0 for Exit ". abha chopraSeptember 23. abha chopraSeptember 23. Giorgio GiorginiDecember 25.12. Reply Replies 1. 2015 at 7:13 AM This is very useful Reply 13. 2015 at 3:52 AM please somebody should help me to write an algorithm to compute n! (N-Factorial).N!" PRINT n=1 INPUT "Type a number. Jonas MonyoSeptember 25. 2015 at 7:13 AM This is very useful Reply 14. PRINT GOTO 2000 Reply 15. nishita guduruOctober 17. 2015 at 11:53 AM Please can you help me with this one * *** ***** ******* ********* ******* ***** *** * Reply 16. 2015 at 11:53 AM Please can you help me with this one * *** ***** ******* ********* ******* ***** *** * Reply Replies . nishita guduruOctober 17. 2015 at 9:57 AM Please help me . UnknownMay 2. Praveen MalikOctober 28. thank u by the way this is very helpful Reply 18. 2015 at 7:39 AM can u give discription of syntax"sel" and some programs of "mid$(1. 2015 at 8:16 AM .l) etc. UnknownOctober 29. 1.a) next a m$="******" for a=4 to 1 step -1 print left$(m$. 2016 at 7:08 AM cls m$="*******" for a= 1 to 7 print left$ (m$. Complete this statement ____x=5_____print x Reply 19. krisha kothariOctober 22.a) next a end Reply 17. 2015 at 10:06 PM He ADmin MAke your Blogspot.. Odd nos squares etc Reply . 2015 at 5:35 AM In question number 28th the line: If N>0 Then is not properly. please help me to solve this program using while wend loop. Iam doing the same thing but my computer shows the error. Really Attractive By Your Template Like I Have https://koolproduction. Reply 22... why is it so. Vijay DadhichNovember 6. Upto 10th term Reply 20. Reply 23.blogspot. 2015 at 11:58 PM write a program to enter a number and find and print the number of digits present in the number and also print the digits which are prime. Please help me 1 2 3 5 8. Rashmi SawdawkarNovember 26. 2015 at 5:18 PM Very useful. but also add programms for calculation such as prime nos. Tun Tun BanerjeeNovember 6.. Kool ArpanOctober 29.com Reply 21. 1 23 . 2015 at 1:00 PM Get ur motherfucking asses on the table Reply 26. Reply 25. 2015 at 8:36 PM THERE'S A PROBLEM IN PROGRAM NO. 2016 at 3:52 AM WRITE A PROGRAM TO ADD 2 ARRAYS AND STORE IN THE THIRD ARRAY. SakuntalaDecember 19. 2015 at 1:00 PM This comment has been removed by the author.24. Reply 28. 32 AS THERE ARE 2TIMES THIS A VOWEL Reply 27. Bipan RautJanuary 15. Viney PsDecember 14. Viney PsDecember 14. 2016 at 2:39 AM help me to print this program. Das MoumoyeeJanuary 6. Starship NepalJuly 27. thankgod uduvweJanuary 28. 2016 at 3:25 AM CLS a=1 FOR i = 1 TO 5 FOR j = 1 TO i PRINT a. 456 7 8 9 10 11 12 13 14 15 Reply Replies 1. a=a+1 NEXT j PRINT NEXT i END Reply 29. Peace JourneyJanuary 20. 2016 at 10:44 PM i need one more right now to find ticket fair required to be paid according to the age of passenger please Reply 30. 2016 at 7:10 PM write a qbasic program that find the avrage age of 10 students using do loop Reply . UnknownJanuary 29.31. . 2016 at 7:00 AM This comment has been removed by the author. 2016 at 7:00 AM 54321 4321 321 21 1 and 12345 2345 345 45 5 and 5 54 543 5432 54321 pls help me with writing programs for these output Reply 32. Reply 33. UnknownJanuary 29. 2016 at 7:09 AM Thanks.33. thanks Reply 34..??? Reply Replies 1.up to 10 terms.. 2016 at 4:22 AM Thanks for the questions and solutions. 2016 at 7:11 AM Can you please tell me how to generate the series of 11. . 2016 at 4:52 AM It has some problem that it does not show the output Reply 35.44. I want to use it for my students in pascal and fortran and this is simply helpful.22.. chatykrewFebruary 3. Anubhooti bhardwajFebruary 11. 2016 at 6:10 AM Please answer me. Anubhooti bhardwajFebruary 11... Raja HarshFebruary 4. Anubhooti bhardwajFebruary 12. Reply 36.. 2016 at 7:46 AM CLS a=11 For i = 1 to 10 Print a. 3. Sangharsha SapkotaMarch 13. Asad UllahFebruary 11. 2. Reply . Anubhooti bhardwajFebruary 12. 2016 at 11:57 AM My question is Write a program to find the SUM and PERCENTAGE of any 4 NOS using the INPUT STATEMENT Reply 38. 2016 at 6:10 AM Please answer me. 2016 at 6:42 PM Thank You So Much Sir. a=a+11 Next i END Reply 37.. UnknownFebruary 24. i Got Confused When My Little Sis asked To Do Some Program On QBasic But thanks to God That Your Blog Helped me in order to solve some of her problem. thanks Reply 40. thanks to You for designing this website. 2016 at 4:03 AM this help me to write well in exams Reply 41... edison emmanuelFebruary 24. Varun kumarMarch 2. Reply 42.. Reply 43. 2016 at 10:13 PM please someone should help me in writing a program on how to generate factorial numbers using qbasic. 2016 at 1:18 PM COOL. 2016 at 7:42 AM Hey guys ca you solve this qbasic problem: Display the given series . thanks to You for designing this website. now I know where my mistake is from. UnknownMarch 12. 2016 at 1:18 PM COOL.. UnknownMarch 12..39. Sangharsha SapkotaMarch 13..... now I know where my mistake is from...... shusma lamaMarch 15. How to do this ? Reply Replies 1. CodeAideJune 1. 2016 at 5:03 AM WAP to input 2 num and find the greatest among them.FirstNum Locate 9. SecondNum" is the greater number Reply .5 input "Enter Your First of 2 Numbers: ". 000 111 0 1 000 111 Solve it thank you Reply 44. FirstNum" is the greater number If SecondNum > FirstNum Then Print.SecondNum If FirstNum > SecondNum Then Print.5 input "Enter Your Second Number: ". 2016 at 8:13 AM Rem +++++++++++++++++++++++++++++++ Rem Shusma Rem Rem CodeAide Rem +++++++++++++++++++++++++++++++ Locate 7. 2016 at 4:09 AM someone please help with this: write a simple basic program to achieve the following a.finding the volume of a cylinder.Finding the mean of five numbers. 2016 at 6:11 PM wap to find reverse of a number Reply Replies 1. My kid sister was on my neck and i need to solve one more. TO FIND THE VOLUME OF A CYLINDER? Reply 47. Saba IbrahimApril 19. i don't know if you can help out with that one. 2016 at 1:34 AM Very useful. Nishan KhanalMarch 29.45. b. 2016 at 6:15 AM for N = 15 to 1 STEP -2 PRINT N NEXT N END Reply 46. UnknownMay 17. chikeluba AzuchukwueneApril 19. thank you Reply . A. Display the values 3. W. 12% discount on the total price .P to accept rate and quantity of an item .P to solve the algebraic equation Reply 49.P to accept the value to be converted into Z also accept the rate of conversion for pounds and US dollars perform the conversion. Write a program to accept the value for X and solve the following algebraic equation 3 X square +X +4 X square +X+5 2. net amount using the formula given below. 2016 at 3:15 AM Can any one help me in below mentioned programs 1.48.A.A. younus mdApril 22. Display all values 5. Display all values 4. hina alamMay 2. calculate the total price. W. Write a program to accept a radius of a circle and calculate circumference.W. 2016 at 7:13 AM need some more programs please relating string functions quick my exams are on my head Reply 50. . 2016 at 9:40 PM I don`t like it! I love it! Very useful site ! Reply 51.. Riya SenMay 14. 2016 at 10:34 AM Can any one help me . Merit BhandariMay 24. 2016 at 10:38 AM please help me Reply 52. Swastik shekhar sarkarMay 3... . Riya SenMay 14. 1 square + 2 square + 3 square. 2016 at 5:21 AM wap to display first 10 natural numbers using if then go to. Riya SenMay 14. 2016 at 10:35 AM please reply me Reply 53.upto N square Reply Replies 1.. 2016 at 2:46 AM This comment has been removed by the author. 2016 at 10:44 PM Please reply as soon as possible thanks Reply 56. if the selling price is more than the cost price then calculate actual profit and profit percent. 2016 at 10:44 PM Write a program to accept the cost price and selling price of an article. Reply 54. CodeAideJune 1. Reply Replies . CodeAideJune 2. NIGAM COMPUTER SolutionsJune 1. otherwise actual loss and loss percent. Reply Replies 1. 2016 at 1:26 AM This comment has been removed by the author. Reply 55. NIGAM COMPUTER SolutionsJune 1. 2016 at 1:34 AM This comment has been removed by the author. CodeAideJune 2.25 using For next loop . 2016 at 5:50 AM can u give me 2 QBASIC statement about ELSE IF???? Reply 58. Tejas ChittlangiaJune 18. Reply 57.16. 2016 at 10:54 PM please help me to solve 1. Tejas ChittlangiaJune 18. 1. gayatri sahaJune 30. 2016 at 12:10 PM Can I get 5 else if statement and 10 select case statement Reply 59. 2016 at 12:11 PM .9.4. Tejas ChittlangiaJune 12.5 qbasic else if statement and 10 select case statement Reply 60. 2016 at 6:44 AM can u help me solve thhis series 1 22 333 Reply Replies 1. coolJuly 18. . 2016 at 7:41 AM 1. dipen karkiJuly 11.4. Hari GovindaJuly 17. 2016 at 3:17 AM This comment has been removed by the author. 2016 at 8:26 AM wap that asls any string value and dispaly its reverse Reply 63. Reply 61. Sundar BhattaraiJuly 25.9.1625 cls for i= 1 to 5 print i^2 next end Reply 62. 2016 at 10:27 PM Help me 1+2+3=6 . NEXT J PRINT NEXT I END Reply 64. Damaru Chandra BhattaJuly 26. 2016 at 9:29 AM CLS FOR I = 1 TO 3 FOR J = I TO 1 STEP -1 PRINT I. 2016 at 7:42 PM write a program to check entered number is positive .negative or neutral in qbasic Reply 66. Sundar BhattaraiJuly 25. 2016 at 7:41 PM write a program to input day of week in number and then display in character such as 1 for sunday. Damaru Chandra BhattaJuly 26. Kiran ChaudharyAugust 3. 2 for monday etc in qbasic Reply 65. 2. Reply 67. Priyanshi DoshiAugust 17. Priyanshi DoshiAugust 17. Helper556January 14. 2016 at 9:30 AM help me!!!!with this one 1 12 123 1234 12345 123456 1234567 12345678 123456789 Reply 68. 2016 at 9:30 AM help me!!!!with this one 1 12 123 1234 12345 123456 1234567 12345678 123456789 Reply Replies 1. 2017 at 7:06 PM . 2017 at 7:07 PM CLS FOR i = 1 TO 9 FOR j = 1 TO i PRINT j. NEXT j PRINT NEXT i END Reply 69. CLS FOR i = 1 TO 9 FOR j = 1 TO i PRINT j. Helper556January 14. 2016 at 6:24 AM cls input "enter a number". Arzob lover of pure scienceSeptember 15. Kadeejathul KhubraSeptember 3.m if m > 100 then print "hihger than 100" . 2016 at 4:04 AM Check if higher than 100 help me Reply 70. NEXT j PRINT NEXT i END 2. UnknownSeptember 15. Arzob lover of pure scienceSeptember 15.m if m > 100 then print "hihger than 100" if m < 100 then print"less than 100" else print "the number is 100" end Reply 72. pls solve this program for me now as i have teast tomorrow morning Reply 73. 2016 at 6:25 AM cls input "enter a number". 2016 at 9:13 AM write a program to ask the user to enter 2 natural nos. pls solve this program for me now as i have teast tomorrow morning Reply . and then display the square of the difference. if m < 100 then print"less than 100" else print "the number is 100" end Reply 71. Divij JainSeptember 15. and then display the square of the difference. 2016 at 9:16 AM write a program to ask the user to enter 2 natural nos. 74. 2016 at 6:26 AM plz send me a program for tax variables-basic price tax if tax is 5/ Reply 76.. Reply 78.8......... pawan hadaOctober 15.... 2016 at 4:35 AM This comment has been removed by the author. 2016 at 6:17 AM plz send me a program for tax variables-basic price tax if tax is 5/ Reply 75. 2016 at 4:45 AM can someone help me with this one!!!!! 11235813..4. 2016 at 1:36 AM Display the following series 2... shaikh basheeruddinOctober 6..6.. up to 10th term. shaikh basheeruddinOctober 6.100 Reply . Could you plz tell me this answer I'm having a problem Reply 77.. Megan MonteiroOctober 20. Megan MonteiroOctober 20.. 2016 at 3:24 AM Write a program on moving text pls Reply 82. Reply 80. Anuradha MukherjeeOctober 22..NEXT Loop statement Display all letters from A to Z using FOR. Beatrice IfunanyaOctober 24. Beatrice IfunanyaOctober 24. Joshua Joseph NoronhaOctober 20. 2016 at 9:17 PM print prime numbers in the range of 1 to 50 using the FOR. 2016 at 3:25 AM Write a program on moving text pls Reply 83.. Reply 81.. NEXT Loop can some one help me with this Thanks in Advance . 2016 at 7:11 PM thanks it has helped me a lot for tomorrow's examine.but it would be also very useful if you write any qb64 mod programme.79. Vivian HerbertOctober 25. 2016 at 7:57 PM Thank you. ACEOctober 26. 2016 at 9:07 AM @ Vivian Herbert For printing Prime numbers in range of 1 to 50 this is the program: ... Reply 85. Reply 84. 2016 at 9:04 AM @ Vivian Herbert For printing Prime numbers in range of 1 to 50 this is the program: CLS PRINT FOR I=1 TO 50 COUNT=0 FOR J=1 TO I IF (I MOD J=0) THEN COUNT=COUNT+1 END IF NEXT IF COUNT=2 THEN PRINT I END IF NEXT END Reply 86. 2016 at 9:00 AM Please can someone help me with this program: Display all the letters from A-Z using the FOR. ACEOctober 26.. ACEOctober 26.NEXT loop statement.. The 3rd shoukd contain the sum of 2 array Reply . 2016 at 5:27 AM Very useful Reply 89. UnknownNovember 1. Nathan LamazyNovember 1. Abhijit DattaNovember 1. CLS PRINT FOR I=1 TO 50 COUNT=0 FOR J=1 TO I IF (I MOD J=0) THEN COUNT=COUNT+1 END IF NEXT IF COUNT=2 THEN PRINT I END IF NEXT END Reply 87.A.P to assign the element in two arrays having 3 rows n 3 columns . 2016 at 11:39 AM W. 2016 at 5:26 AM Very useful Reply 88. 2016 at 2:50 AM Please tell me how to print multiplication table of 5 to 50 in a single program using wild when loop Reply 92. Ur program shld ensure that no number is repeated. Shaurya GuptaNovember 17. Shaurya GuptaNovember 17. 2016 at 2:50 AM Please tell me how to print multiplication table of 5 to 50 in a single program using wild when loop Reply 93. 2016 at 11:31 AM Can someone help me with this: Write a QBASIC program to generate thirty random integer number distributed btw 20 n 50. . abdur rahmanNovember 26. Raj raushanNovember 2. 2016 at 9:06 AM I love these programs for QBASIC!!!!!! Reply 94.90. UnknownNovember 27. 2016 at 7:51 AM Please help me to make a calculator that can find hypotenus of a right angle triangle Reply 91. vijaya lakshmiDecember 8. vijaya lakshmiDecember 8.8. UnknownDecember 8. Reply 95. Reply 96. 2016 at 5:18 AM I want to print a program of first ten multiples of 6. Reply 98. vijaya lakshmiDecember 8. 2016 at 5:51 AM Write a program to generate the following series ***** **** *** ** * Reply .7. 2016 at 5:19 AM This comment has been removed by the author. 2016 at 5:18 AM Pls give the program fast Reply 97. 2016 at 9:02 PM wap to print the sum of series: 1+4+9+16+.99.100 Reply 100.. shivani shrivastavaDecember 20. priyashree baruaDecember 10. 2016 at 7:01 PM What is the solution to display the flag of Nepal? * ** *** **** ***** ****** ******* * ** *** **** ***** ****** ******* ** ** ** ** Reply 101. 2016 at 6:59 AM Pls tell me how to make program to print the report cards of 30 students using q basic Reply . Sampras PaudelDecember 18.. 2016 at 7:10 PM display 4. Bishnupada MondalDecember 23. 2016 at 6:30 AM A person is allowed to get a driving license only after the age of 18. Bishnupada MondalDecember 23. 2016 at 6:38 PM SQR (-16) Can you give me this ones output? Reply 104. pawan hadaDecember 23. 2016 at 6:40 PM This comment has been removed by the author.23 upto 10th term Reply 105. UnknownDecember 22.14.102. Reply 103.9. . write a program to accept the age of a person and display whether he should be given a license or not Reply Replies 1.5. ALEXANDRA PEDROLINAVINTODecember 27.+30 Reply . pawan hadaDecember 23. 3+6+9. Write QBASIC program to generate 30 random integer numbers distributed between 20 an 50. 2016 at 7:11 PM im having a problem with this program Reply 106. 2016 at 2:45 AM Please tell me how to write the sum of table of 3 till ten..+30 Reply 109. Reply 108. 2016 at 8:15 PM can u help me with this. 2016 at 3:14 AM Help me with this. write a qbasic program to input ten numbers and print only the odd numbers... Hieya ChaturvediDecember 31... 3+6+9+12+.. Bibash PokhrelDecember 27. Hieya ChaturvediDecember 31......... Reply 107. 2016 at 2:47 AM Please tell me how to write the sum of table of three.. 110. sanjog karkiJanuary 4. 2017 at 5:56 AM please help me solving this 2 24 246 2468 246810 Reply 112. 2017 at 12:38 AM Plz help me by solving this 1 26 3 7 10 4 8 11 13 5 9 12 14 15 Reply 111. 2017 at 2:07 AM CLS A=5 For I =1 to 8 Print A A=A*10+5 Next I End Reply 113. Haifa ArarJanuary 6. dream dreamJanuary 2. . Abhay HoneyJanuary 18. TOTAL. Prithwiraj SahaFebruary 26. M5 LET TOTAL = M1 + M2 + M3 + M4 + M5 LET AVG = TOTAL/5 PRINT "THE EQUIVALENT SUM AND AVERAGE IS". 2017 at 1:46 AM please tell me how to get the multiples of a number which is inputted by the user Reply 114. 2017 at 5:39 AM How to find the sum and average of five number Reply Replies 1. M4. M2. M1. Jyotiraditya SinghJanuary 8. M3. 2017 at 10:06 AM 12345 22345 33345 44445 55555 Reply 115. 2017 at 12:05 AM REM TO FIND THE SUM AND AVERAGE OF FIVE NUMBER CLS INPUT "ENTER THE FIVE NUMBERS". AVG END . UnknownJanuary 10. 56.. 2017 at 6:32 AM Please tell me how to write a program to calculate the sum of positive and negative numbers if user has to enter 10 numbers Reply 117.36. Input a complete date of birth of a person and compute his or her current age in sub end sub procedure.21.10 terms Reply . UnknownJanuary 18. then no multiples will be printed Reply 118... Reply 119. Chunna PaudyalJanuary 24.. 2017 at 8:21 AM Can you answer me the question:6. 2017 at 1:00 PM Please i need help with this. Reply 116. Write a program that will take two members A & B and print out all the multiples of A from A. Victory NumbereJanuary 21. 2017 at 6:19 PM Please answer me.11.. UnknownFebruary 18. If B<=0. 33. UnknownFebruary 27. 2017 at 7:28 AM Help me find the answer of to print first ten multiples of 6. 2017 at 3:58 AM please help me to write a program to display 2 5 10 17 26 up to 12th term Reply 122. 2017 at 4:37 AM These are very helpful please answer my question dai . sulakshana arjyalFebruary 27.7.and 8 in a creative way Reply 121. 2017 at 4:36 AM To print the following numeric series 3.3333. Jenny gurungFebruary 27. UnknownFebruary 26.120.333. UnknownFebruary 27.33333 Reply 124. 2017 at 4:15 AM please answer me Reply 123. Rajeev PandeyMarch 1. UnknownFebruary 27. 2017 at 4:41 AM This comment has been removed by the author.24 using for-next and while-wend loop in qbasic. Reply 128.12. 2017 at 5:55 AM wap to display the first 10 terms of the series 3. 2017 at 7:54 AM . 2017 at 6:58 AM This comment has been removed by the author. UnknownFebruary 27.6. Reply 126. 2017 at 6:57 AM My question is how to write a program for integers Reply 127. sulakshana arjyalFebruary 27. UnknownFebruary 28. Reply 129. Reply 125. 2017 at 8:24 AM PLZ FAST REPLY ME BRO U WILL BE THANK FUL I NEED FAST Reply 130. osuji paulMarch 5.PRNT THE AGE OF THE FATHER AND THE SON Reply 131. plz help me print the qbasic program of series 1 26 3 7 10 4 8 11 13 5 9 12 14 15 Reply Replies 1. a wage rate paid to a casual employee of a certain construction company is 175 naira per hr.AGE OF THE SON IS TWO TIMES LESS THAN HIS FATHER'S AGE. UnknownMarch 2. 2017 at 2:10 AM WRITE A PROGRAM TO ENTER THE AGE OF THE FATHER. write a single Qbasic program to compute the wage earned by an employee named paul who worked for a total of 68hrs 27mins. Rajeev PandeyMarch 1. 2017 at 11:57 AM admin please. print out the name of the employee and the wage Reply .AGE OF THE SON. YEAR END IF . 2017 at 2:59 AM Your Programm DIM X. YEAR ELSE PRINT "THIS IS NOT LEAP YEAR". YEAR X = YEAR MOD 4 Y = YEAR MOD 100 Z = YEAR MOD 400 IF ((X = 0 AND NOT (Y = 0)) OR Z = 0) THEN PRINT "THIS IS A LEAP YEAR". Y. HindiTutorPointMarch 22. Reply 133. 2017 at 5:15 AM how to wap to find if a year is leap year or not Reply Replies 1.k. YEAR INPUT "PLEASE INPUT YEAR". 2017 at 5:44 PM Write a program to read names of 5 students and print them in reverse order. Jaiswal Science WebsiteMarch 7. 2017 at 9:05 PM its very much helpful for the schooling students Reply 134. Z. C. Om GuptaMarch 7.(using READ DATA statement) plz. Aritra GhoshMarch 9.132. 55 Reply 137. Reply 135. Nicholas SyngkliMay 25.6.com 2. UnknownMarch 10.10.36.36.21.45. Nicholas SyngkliMay 25.10.45.3.15.21. . 2017 at 6:57 PM Help me to generate this series 11 22 33 44 up to 10 terms 3. UnknownMarch 10.28. 2017 at 7:03 AM to print number 1. 2017 at 7:03 AM to print number 1.hinditutorpoint.15. 2017 at 7:00 PM This comment has been removed by the author.28.55 Reply 136. END Please Follow my blog www.3.6.blogspot. 21. GYANENDRA ADHIKARIJune 22. 2017 at 7:03 AM to print number 1. A=A+I NEXT I END Reply 138.28.55 Reply 139.21.10. UnknownMarch 10. 2017 at 7:30 AM CLS A=1 FOR I =2 TO 11 PRINT A.55 Reply Replies 1. 2017 at 7:03 AM to print number 1.3. The program accepts a name of a person and displays corresponding telephone number Reply .15.36.28.10.36.45.45. UnknownMarch 12.6.3. UnknownMarch 10.15.6. 2017 at 7:04 AM Write a program that stores name and telephone numbers of any 10 persons in a double dimension array. .blogspot. 2017 at 6:59 AM KATHMANDU ATHMAND THMAN HMA M plz solve it. Agbim OdiraaMarch 18. Display useful message at the end of the computations. Reply 142. Roshan AryalMarch 21. Reply Replies 1. 2017 at 6:19 AM Write a program to display time in hours and convert time into minutes as well as seconds.html Reply 141. HindiTutorPointMay 8.140.ANYONE THANK U . 2017 at 8:12 AM Write a program to obtain (0-100) made by 20 student in a course from the user. Let the program find out the percentage of the students that passed the course and the class average score.com/2017/05/convert-time-program-in-qbasic. 2017 at 1:27 AM Hello Dear Please Follow this link get your answer http://bloghindisupport. The pass mark is 50 and above. RAI SAHIBMarch 14. tachyonMarch 30. 2017 at 5:31 AM CLS S$ = "*****" M = LEN(S$) . SBMay 1. 2017 at 7:54 AM Thank you. But 0 is not negative! Reply 145. Reply 143. Q 28. 2017 at 5:16 AM write a program to input any number and print only composite number Reply 144. 2017 at 10:21 PM how do we make this one * ** *** **** ***** Reply Replies 1. I learnt a lot from this page. UnknownMay 5. UNKNOWNMay 27. then it says 'the number is negative'. If we input 0. 0.0. UnknownMay 9.3 N=1 TOP: PRINT A A = A/10 N=N+1 IF N less than symbol= 9 THEN GOTO TOP End 2.. UNKNOWNMay 27. . UNKNOWNMay 27.3.33.I) PRINT SUB$ NEXT I END Reply 146. 2017 at 5:37 AM CLS A = 0. 2017 at 5:38 AM *PRINT A. 2017 at 11:15 AM How do you generate 0.0. Upto 9th term Reply Replies 1.3333 ..333. FOR I = 1 TO M SUB$ = LEFT$(S$.. "=". Star Utsav Digital StudioMay 23. "*". 2017 at 5:13 AM write a program to input a number and display table upto 10th terms. Reply 147. UnknownJune 15. X FOR Y = 1 TO 10 TABLE = X * Y PRINT X. 2017 at 5:16 AM write a program to enter any three different numbers and display the greatest number Reply Replies 1. TABLE NEXT Y END Reply 148. Y. Star Utsav Digital StudioMay 23. . Reply Replies 1. 2017 at 1:55 AM CLS INPUT "ENTER ANY NUMBER". A INPUT "ENTER SECOND NUMBER". C IF A > B AND A > C THEN PRINT A "IS GREATEST" ELSE IF B > A AND B> C THEN PRINT B "IS GREATEST" ELSE PRINT C "IS GREATEST" END IF END IF END Reply . UnknownJune 15. UNKNOWNMay 27. 2. UNKNOWNMay 27. 2017 at 5:46 AM IF A IS GREATER THAN SYMBOL B AND A IS GREATER THAN SYMBOL C THEN PRINT A ELSEIF B IS GREATER THAN SYMBOL A AND B IS GREATER THAN SYMBOL C THEN PRINT B ELSE PRINT C END IF END 3. 2017 at 12:54 AM CLS INPUT "ENTER FIRST NUMBER". B INPUT "ENTER THIRD NUMBER". 2017 at 5:41 AM This comment has been removed by the author. UnknownJune 15.126. 2017 at 9:14 PM WAP that asks length of 3 sides of a triangle and check whether right angle triangle or not Reply Replies 1.. c IF a + b > c THEN IF b + c > a THEN IF a + c > b THEN END IF END IF PRINT " these sides form triangle" ELSE PRINT "these sides do not form triangle" END IF END . 2017 at 2:13 AM This comment has been removed by the author. Sanjeev ThakurMay 24. b INPUT "enter third length". UnknownJune 15.10terms.149. UnknownMay 26.. a INPUT "enter second length".28.. 2017 at 1:51 AM Can u help me with series 2. 2017 at 2:14 AM CLS INPUT "enter first length". Reply 150..9. 2. 2017 at 12:46 AM This comment has been removed by the author. finding sum is not required. Reply 153.. thanks. UnicodistJune 1. thanks. 2017 at 1:54 AM I am a new teacher.. i learned C programs in past. =) Reply 152.. thanks for this. and i have to teach QBASIC in class 8. Reply 151. but now i can teach them very perfectly i think. 2017 at 12:49 AM Dear all: if any one could help me print any input numbers in the pattern a+b-c+d+e-f . up to 10 terms in qbasic and find its sum.. 2017 at 12:47 AM Dear all: if any one could help me print any input numbers in the pattern x-y+z-w+. UnknownJune 15. UnknownJune 15. up to 10 terms in qbasic. UnknownJune 15. Reply 154. Reply . only pattern printing is required. Reply 156.C. 2017 at 4:27 AM This comment has been removed by the author. GYANENDRA ADHIKARIJune 22.a.I WILL GIVE ANSWERS TO EVERY QUESTION VISITORS PASTE.B.F S=A+b+c+d+e+f PRINT S.E.IF YOU NEED HELP I CAN HELP YOU . Replies 1.EVERY QUESTION ARE LIKE AN ANT TO ME. I AM GENIUS IN QBASIC. aabhas maniJune 15. NEED HELP CAN ASK ME."IS THE SUM" END Reply 155. GYANENDRA ADHIKARIJune 22. 2017 at 7:33 AM THESE ARE EASY.. Aminu balaJune 20.. 2017 at 5:13 AM I'm very happy for this thanks a lot Reply 157. 2017 at 7:35 AM CLS INPUT"ENTER NUMBERS".D..THANK YOU Reply . lalitpur.. Links to this post Create a Link Home Subscribe to: Post Comments (Atom) About Me Aayush kc dhobighat. Nepal View my complete profile Followers Object 2 . Object 1 Load more.. Blog Archive • ▼ 2010 (1) • ▼ August (1) • Q-BASIC PROGRAMS .
Copyright © 2024 DOKUMEN.SITE Inc.