Mar 16th, 2023
- Allocate array
- Write a program that allocates array of N integers, initializes each element by its index multiplied by 5 and the prints the obtained array on the console.
- On the only line you will receive the number N
- Print the obtained array on the console.
- Each number should be on a new line
- 1 <= N <= 20
- N will always be a valid integer number
- Sample tests
- Input Output
- 5 0
Please, Sign In to add comment