answersLogoWhite

0


Best Answer

ALGORITHM SAMPLE

i = 0

REPEAT

OUTPUT ("Enter a number: ")

INPUT (number[i])

i ++

UNTIL (number[i] 0) THEN

counter++

sum = sum + number[i]

END IF

END FOR

DISPLAY (counter)

DISPLAY (sum / counter)

END SAMPLE

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Programme to write positive numbers until the user enters no and then sum the numbers divisible by 4 that lie between the range of 10 and 50 and finally display the count and the average value?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many positive integers between 1000 and 9999 inclusive a are divisible by 9?

There are 1,000 positive integers between 1,000 and 9,999, inclusive, that are divisible by nine.


How many positive integers between 100 and 999 are divisible by 3 or 4?

How many positive integers between 100 and 999 inclusion, are divisible by 3 and 4?


How many positive integers with exactly three decimal digit positive integers between 100 and 999 inclusive divisible by 7?

Of the 729 numbers that satisfy the requirement of positive integers, 104 are divisible by 7.


How many positive integers between 100 and 999 inclusive are divisible by 7?

128 of them.


How many positive integers between 1 and 250 both inclusive that are divisible by any of the integers 2357?

193 of them are divisible by one (or more) of the given numbers.


How many integers between 1 and 2018 are not divisible by 2 and are not divisible by 5?

Between 1 and 2018, 1008 are not divisible by 2.1613 are not divisible by 5.


How many number between 100 and 300 is divisible by 3?

the average of 5, 10, 15, and x is 20 what is x ?


What number between 200 and 300 is divisible by 3?

There are 33 numbers between 200 and 300 that are divisible by three.


How many numbers are divisible by 9 between 5 and 1000?

How many numbers are divisible by 9 between 5 and 1000²


What is a number in between 500 and 1000 that is divisible of 3 and 9?

There are many numbers between 500 and 1000 divisible by 3 and 9. Any number divisible by 9 is divisible by 3. How about 900?


What is the relationship between numbers divisible by 9 and 3?

Any that are divisible by 9 are also divisible by 3.


What was the spacecraft programme between mercury and Apollo?

Gemini