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

an electric heater of power 1000W has a resistance of 10 ohm. calculate the magnitude of current
What are two ways that every place on the earth can be located?
a stray dog ate 12 pf your muffins.that was 3/10 pf all of them.with how many did you start
Shen has a number cube with faces numbered 1 through 6. He will roll the number cube one time. What is the probability that the number cube will land with a nu
Round 3.047 to the nearest 100th
A biologist hypothesizes that restricting food from mice will decrease their activity. He designs an experiment in which he observes the activity of 50 mice und
There were 28 white ducks swimming in a pond. • Twice as many brown ducks flew in and landed in the pond. • Then half of the white ducks flew away. How many
an electric heater of power 1000W has a resistance of 10 ohm. calculate the magnitude of current
what is -15x=0 solution
What are two ways that every place on the earth can be located?