answersLogoWhite

0

What else can I help you with?

Continue Learning about Basic Math

How do you add odd numbers only in qbasic from 1 to 10?

CLS FOR eachNum%=1 TO 10 STEP 2 PRINT eachNum% NEXT


How do you download QBasic?

In order to Download Qbasic you may do one, both or none of these two things: 1.) Go to "http://www.softpedia.com/get/Programming/Coding-languages-Compilers/Qbasic.shtml" and click download or 2.) use "Google.com" with the keywords Qbasic free download to find another website with a free qbasic downlaod.


How many 1 ft x 2 ft squares to cover 10 ft x 20 ft area?

You will need 100 of them, but they are rectangles, not squares.


How do you generate 5 55 555 5555 55555 series in qbasic?

In QBasic, you can generate the series 5, 55, 555, 5555, 55555 using a loop. You can start with a variable initialized to 5 and repeatedly multiply it by 10 and add 5 in each iteration. Here's a simple example: FOR i = 1 TO 5 num = 0 FOR j = 1 TO i num = num * 10 + 5 NEXT j PRINT num NEXT i This code will output the desired series.


What does the QBASIC automatically capitalize for you?

EXAMPLE 1 The QBASIC program will, automatically, *capitalize* any reserved 'keyword' which it finds once you've already gone and typed in a line of code; and, then, at the end of that code line, do finally press the [RETURN/ENTER] key...to confirm what you've just gone and typed in. A keyword might be say the PRINT command statement...so, if I were to type inside of the QBASIC editor the following line of code... print 1+1 ...then, the moment I press the [RETURN/ENTER] key when I get to the end of that line...the QBASIC interpreter program will, automatically, change the 'lower case' word: print...to become all UPPERCASE, instead; QBASIC Editor will display the previous line of code I typed in as being... PRINT 1+1 ...thus, I am able to tell immediately that PRINT is a special reserved 'keyword'/or, command statement which the QBASIC program, quite clearly, recognizes and understands. This also helps me the programmer to know if I actually typed in that 'keyword' either correctly/or, incorrectly; if wrong...and, the program did NOT automatically capitalize it...; then, I know I must have either accidentally 'misspelled' the keyword/or, must otherwise have done something to go get it wrong...?! EXAMPLE 2 If I were to type in to the QBASIC Editor program the following line of code using all 'lower case' letters... x=10: if x=10 then print "ten" else print "NOT ten" ...and, then, when I've reached the end of that line of code, press [RETURN/ENTER] key to confirm my code entry; the QBASIC interpreter program will, automatically, respond by capitalizing any reseved 'keywords' that it finds; then, QBASIC Editor displays the line of code I typed in as being... x=10 : IF x=10 THEN PRINT "ten" ELSE PRINT "NOT ten" Looking at this newly capitalized line...it tells me that... IF/THEN/ELSE/PRINT...are all QBASIC reserved 'keywords'. NOTE: Whatever is a string a text that is written in between double quote marks: ("") will be totally unaffected by such capitalizing; instead, text strings will be printed out, quite literally, 'as is'. FINAL NOTE There are far too many QBASIC 'keywords' for me to go and list here; possibly, a couple hundred...! QBASIC has many 'keywords' that it uses; if you wish to see what ALL of these keywords are; then, from inside of the QBASIC Editor program itself...do a combination key press of: [SHIFT] + [F1]...and, there you will see the Help file...that shows each 'keyword' you can use to write QBASIC programs with; as well as, offering a clear explanation/it shows 'example codes' demonstrating exactly how each of these 'keywords' should be used; just do 'copy & paste'/then, RUN the program to follow these examples along.

Related Questions

Write a qbasic program to print the squares and cubes of first 10 natural numbers?

10 CLS 20 FOR n = 1 to 10 30 PRINT n, n^2, n^3 40 NEXT n 50 PRINT: PRINT: PRINT "Touch 'x' to go again, any other key to end." 60 INPUT a$ 70 IF a$ = "X" or a$ = "x" THEN 10 80 END


How do you add odd numbers only in qbasic from 1 to 10?

CLS FOR eachNum%=1 TO 10 STEP 2 PRINT eachNum% NEXT


How many squares are there from 1 to 100?

there are 10 squares if you count 100


How many 1-cm squares are on each side of a 10-cm cube?

-9


Find the squares of 1 to 10?

1 squared = 1. 10 squared = 100


How many squares millimeters make 1 squares meters?

1 000 000


How do you make 41 with the three squares and the two squares?

3 squares: 36 + 4 + 1 2 squares: 25 + 16


How do you make 3 squares by taking 1 stick out?

First lay out 13 sticks to make 3 squares with a sick over. Then take 1 stick out. What is left is 3 squares. Simple!


What is the perfect squares 1-10?

11


How many squares in a 10 by 10 grid?

There are 100 squares in a 10 by 10 grid.To discover the total number of squares in any square or rectangular grid, multiply the number of squares along two adjacent sides and you will arrive at the correct answer everytime.From Someone Else:The grid itself is a square alone; think about it, that's 1 on top of your 100.Look closer. There are actually 385 squares


If you had 10 squares and 5 were shaded what would the decimal number be and why?

5 of 10 shaded would be 1/2 or 0.5 of the total number of squares.


How do you make 1 square from four squares?

sdsdsdsd