###### Asked in Math and Arithmetic, C Programming, Algebra

Math and Arithmetic

C Programming

Algebra

# 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?

123

## Answer

###### Wiki User

###### 04/29/2010

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

## Related Questions

###### Asked in Math and Arithmetic

### 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.
...

Read More

###### Asked in Math and Arithmetic, Numbers

### 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.
...

Read More

###### Asked in Numbers

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

Between 100 and 999 there are 448.

Read More

###### Asked in Numbers

### 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.

Read More

###### Asked in Math and Arithmetic

### 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.
...

Read More

###### Asked in Math and Arithmetic

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

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

Read More

###### Asked in Math and Arithmetic

### 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?
...

Read More

###### Asked in Math and Arithmetic

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

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

Read More

###### Asked in Math and Arithmetic

### What number is between 21 and 39 that is divisible by 2 and 5?

If its divisible by 5 AND 2 it must be divisible by 10
So you just have to pick the only number between 21 and 39
that's divisible by 10
...

Read More

###### Asked in Math and Arithmetic

### What numbers between 100 and 9000 are divisible by 3?

There are 2,966 numbers between 100 and 9,000 that are divisible
by three.
...

Read More

###### Asked in Math and Arithmetic

### What number between 200 and 300 is divisible by 3?

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

Read More

###### Asked in Math and Arithmetic

### What numbers between 1 and 700 are divisible by 3?

There are 233 numbers between 1 and 700 that are divisible by
three.

Read More

###### Asked in Math and Arithmetic

### What are the integers between 1234 and 2345 that are divisible by 11?

There are 100 integers between 1,234 and 2,345 that are
divisible by 11.

Read More

###### Asked in Math and Arithmetic

### How is a number divisible by 2 if a number is divisible by 3?

There is no relationship between the two.

Read More

###### Asked in Math and Arithmetic

### How many numbers are divisible between 17 and 61 are divisible by 8?

There are 5 numbers between 17 and 61 that are divisible by 8.
They are 24, 32, 40, 48, and 56.
...

Read More

###### Asked in Math and Arithmetic, Prime Numbers

### How many numbers between 100000 and 999999 are divisible by 10?

There are 89,999 numbers between 100,000 and 999,999 that
are divisible by 10.
...

Read More

###### Asked in Math and Arithmetic

### What is a number between 900 and1100 that is divisible by 10 but not 2?

There are no numbers between 900 and 1,100 that are divisible by
10 but not by two.
...

Read More

###### Asked in Math and Arithmetic

### How many numbers between 1 and 180 are divisible by 2?

There are 89 numbers between 1 and 180 that are divisible by
two.

Read More

###### Asked in Math and Arithmetic

### How many numbers between 50 to 100 are divisible by 3?

there are 17 divisible by 3 between 50 to 100
, 51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99
...

Read More

###### Asked in Math and Arithmetic, Mathematical Finance

### How many numbers are between 1 and 100 are divisible by 5?

There are 98 numbers are between 1 and 100 that are divisible by
five.

Read More

###### Asked in Math and Arithmetic

### How many numbers between 1 and 100 are divisible by 2?

There are 49 numbers between 1 and 100 that are divisible by
two.

Read More

###### Asked in Palindromes, Numbers

### What are the integer palindromes between 1000 and 9000 divisible by 20?

There are no integer palindromes between 1,000 and 9,000 that
are divisible by 20.
...

Read More

###### Asked in Math and Arithmetic

### How many numbers between 101 and 201 are divisible by 4?

There are 25 numbers between 101 and 201 that are divisible by
four.

Read More

###### Asked in Math and Arithmetic

### How many numbers between 1 and 150 are divisible by five?

There are 29 numbers between 1 and 150 that are divisible
by five.

Read More

###### Asked in Math and Arithmetic

### How many numbers between 400 and 600 are divisible by nine?

There are 22 numbers between 400 and 600 that are
divisible by nine.

Read More