parajuliishana
parajuliishana parajuliishana
  • 07-11-2021
  • Computers and Technology
contestada

write a q basic program to find the sum of all the even numbers from 1 to 50​

Respuesta :

mdshyk
mdshyk mdshyk
  • 08-11-2021

Answer:

CLS

M=2

SUM=0

DO WHILE M<=50

SUM=SUM+M

M=M+2

LOOP

PRINT " The sum of all even numbers between 1 and 50 is"; sum

Answer Link

Otras preguntas

-7+4= I need Help Asap
The stock of company A lost $2.61 throughout the day and ended at the value of $62.64. By what percent did the stock decline
why UDP without flags and TCP has flags ?
Kate's new juicer can squeeze 3⁄4 of a pitcher of orange juice from 1/12 of a bag of oranges. Find the unit rate in pitchers per bag?
Use the information in the following paragraph to answer the question.A hypothetical bacterium swims among human intestinal contents until it finds a suitable l
Write a multithreaded Java or Pthreads program that outputs prime numbers. This program should work as follows: The user will run the program and will enter a n
Lem Co., which accounts for treasury stock under the par value method, acquired 100 shares of its $6 par value common stock for $10 per share. The shares had or
What is a chromosome? O A. A specific trait that is passed on O B. A strand of genetic material C. A type of organism that has genes O O D. A form of a gene tha
You are running a fuel economy study. You want to find out which car can travel a greater distance on 1 gallon of gas. What is the gas mileage, in miles per gal
i need helpppppppppppppp