answersLogoWhite

0


Best Answer

For N = 1 to 10

Print 2 * N

Next N

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you print first 10 even number using for loop in q basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


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".


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


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);


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.


How do you print without using Print Preview?

impossible sorry


How do you get to 9 using 123456789 - plus using numbers and symbols only once?

-- Photocopy the question or print the screen. -- Trim and discard the first 8.