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

20 pts for free ig I'd just need an awnser ​
In a market system, the allocation of scarce goods involves the consideration of multiple choice 1 what must be sacrificed in using a resource for its next-best
How did Hoover win his party's nomination to run again in 1932?
During meiosis, a parent cell having four chromosomes will produce sex cells, each containing: a) two chromosomes b) four chromosomes c) eight chromosomes d) si
Please do both questions and explain I'll give brainliest
please help!!! im confused
An effective thesis statement should
Your grandparents are at your house visiting for the holidays and are asking questions pertaining to the weather in your area. What question might they ask you?
How to solve this problem 15 = 5x
sophia bought 18 bags of pumpkin seeds. each bag contains 42 seeds. she plants half of the seeds. how many seds does she have left?​