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

Colonial protests and boycotts against the Stamp Act eventually led to
All businesses can discriminate against workers based on
How is. Preparing for a space mission similar to planning for a camping trip?
What is the term that describes when a market with few sellers has price agreements such that the sellers cooperate with each other in order to avoid competitio
Apart from its length, what else makes a short story different from a novel? A short story can employ first-person point of view; a novel, because of its comple
Mohandas gandhis protest were successful because
Vincent owns an apartment building containing 15 rental units. Vincent pays $22,690 in taxes and building upkeep every year, and charges rent of $833 per month.
Which is a feature of a Roth IRA? You must pay tax if you withdraw your earnings once you're 59.5 years old. You can withdraw your earnings once you're 59.5 yea
What is the surface area of the rectangular prism?
Which of the following is not a method used to improve management of tropical rainforests?a. increased loggingb. establishing special reserves for critical spec