Write an application program that generates 100 different integer numbers in such a way that each one has a value between 0 and 50. The program also counts how many of the generated numbers are divisible by 10. The output of the program should be as follows
-
- Print out the 100 generated numbers such that every 10 numbers in a separate line (so totally 10 lines are outputted), then#
- Print out in a separate line how many numbers are divisible by 10
-
- Print out the 100 generated numbers such that every 10 numbers in a separate line (so totally 10 lines are outputted), then#
- Print out in a separate line how many numbers are divisible by 10
تعليق