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

A football coach gives half his players a protein bar to eat before each game; the other players do not receive the protein bar. After a month of games, he anal
The average weight of a midsize car is 1 3/4 tons. The average weight of a compact car is 6/7 of the weight of a midsize car. How many tons does a compact car w
Need help on attached problem
The diagram shows the intersections of several straight roads. The avenues run parallel to each other. Amana walks along Oak from point A to B. To the nearest f
based on the numbers in the table,which equation describes the value of y in terms of x which is the right answer A. y=x+2 B. y=3x C. y=x^2+3 D. y =4x-1
What number should be added to both sides of the equation to complete the square? x2 + 12x = 11
may someone help me out with this please
What is the following that serves as a passage way for food and air
2x2−5x=3 Separate the two values with a comma.
Rena pushed the button for the elevator to go up, but it would not move. The weight limit for the elevator is 450 kilograms, but the current group of pass anger