grimjow2717
grimjow2717 grimjow2717
  • 13-09-2021
  • Computers and Technology
contestada

Write a program to input 10 numbers in GW BASIC

Respuesta :

doxiluv3
doxiluv3 doxiluv3
  • 13-09-2021

Answer:

Explanation:

GW-Basic Programs

Practical: 1- Write a Program to Print even numbers from 1 to 40.

 

Program:

10       CLS

20      FOR B = 2 TO 40 STEP 2

     30      PRINT B

     40      NEXT  B

     50      END

Algorithm

Step 1  START

Step 2  STORAGE    B=2

Step 3  DECISION    IS B<= 40 IF

NOT THEN GO TO STEP 7

Step 4  COMPUTE    B=B+2

Step 5   PRINT

STEP 6  GOTO STEP 3

Step 7 END

Answer Link

Otras preguntas

A balloon is filled with air at room temperature. It is then dipped into liquid nitrogen at 77K. Why does the balloon collapse? A) The molecules inside the ball
A deficiency of __________ can cause pernicious anemia.
a simple sugar (C6H12O6) occurring in plant and animal tissues
Lisa is weighing combinations of children's blocks. four blue blocks and five red blocks weigh 32 ounces. one blue block and eight red blocks weigh 35 ounces. w
What is revealed propaganda
Which of these are complete sentences? Check all that apply. The lemon tree on the porch. She caught her first fish that day. Jumping farther than anyone thoug
Why is it most important to preserve natural places such as Carlsbad Canyon? A.The federal government requires states to preserve sites. B.They are easily damag
What was one of the long-term effects of dough Watergate scandal
what is the fuel for a hurricane
The first great hedonist in western philosophy was: