answersLogoWhite

0

For N = 1 to 10

Print 2 * N

Next N

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Basic Math
Related Questions

How do you print using the Rollmaster software?

First you have to retrieve the data from the database by using the 'records view', 'Query' or 'report' menus. Then select print.


How do you make games using q basic?

RANDOMIZE TIMER rndNumber% = INT(RND * 100) + 1 winFlag% = 0 CLS PRINT "PROGRAM: Guess the number" PRINT PRINT "I'm thinking of a number between: 1-100. You've 7 guesses..." PRINT PRINT "Guess No" FOR eachGuessNo% = 1 TO 7 PRINT eachGuessNo%; "> "; INPUT "What is my number"; guessNum% IF guessNum% = rndNumber% THEN PRINT "Yes, correct guess; you WIN!" winFlag% = 1 EXIT FOR END IF NEXT IF winFlag% = 0 THEN PRINT "No, you guessed WRONG! I the computer WIN!" PRINT "My number was: "; rndNumber% PRINT PRINT "Again, Y/N"; yesNo$ DO yesNo$ = INKEY$ LOOP UNTIL yesNo$ <> "" IF UCASE$(LEFT$(yesNo$, 1)) = "Y" THEN RUN END


What symbol would you use in most versions of BASIC as a shortcut for the PRINT command?

Using a ? instead of typing PRINT saved four keystrokes. 10 ? "Hello" would do the same as 10 PRINT "Hello".


To print the multiples of a given number using loops in c?

Yes, it is possible to do that.


You want to write a simple without using pointer or array c program which will print greatest number when you give 20 number?

i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?


How do you print square using for loops?

how to print "square" using for loop


How do you print all data in a Binary Search Tree?

By using Depth First Search or Breadth First search Tree traversal algorithm we can print data in Binary search tree.


Which of the following function convert an object to a string in python?

By using "str()". Example: number = 2 yourNumber = print("Your number is %s!") % (str(number))


How do you print the middle number of a 3digit number using c?

it is int n=123; printf ("%d", (n/10)%10);


How do you find the greater number in qbasic?

Oh, dude, finding the greater number in QBasic is like finding the last slice of pizza at a party - you just compare the two numbers using the good ol' greater than symbol (>), and boom, there's your answer. It's not rocket science, it's just basic math in a BASIC programming language. So, like, chill out and enjoy the simplicity of it all.


How do you print even number in qbasic?

In QBasic, you can print even numbers using a simple loop. For example, you can use a FOR loop to iterate through a range of numbers and then check if each number is even by using the modulus operator (MOD). Here's a sample code snippet: FOR i = 1 TO 20 IF i MOD 2 = 0 THEN PRINT i NEXT i This code will print all even numbers from 1 to 20.


By using awk programming how to count number of lines in a given file without wc command?

Use the following:awk 'END { print NR }'Awk will count the lines and print it out.