Computer Science, asked by saidheeraj417, 1 month ago

•Write a Python Program for the below VALID question.

A number is said to be valid iff it is divisible by 8. Write a program
that allows the user to keep entering numbers as long as the input
is valid and also displays a count of the valid numbers entered
using a while loop. Input Format: Input consists of integers.
Output Format: Refer Sample Input and Output for formatting
specifications. [All text in bold corresponds to input and the rest
corresponds to output]

Sample Input :
8
16
96
6

Sample Output :
The number of valid numbers entered is 3​

Answers

Answered by kjhay76
0

Answer:

349651(3494) +539

23934+

Similar questions