Question: 9. Write a C++program to input a number and call the function called IsDivisible that takes in 1 integer argument and prints if that integer

 9. Write a C++program to input a number and call the

9. Write a C++program to input a number and call the function called IsDivisible that takes in 1 integer argument and prints if that integer is divisible by 10 or not. This function does not return anything. 10. Write a C++program to declare an array of 5 integers as below: int num!] = { 10,20,30,40,50); Using for loop, add 5 to each element of the array and print the array. The output should be as below: 11 21 31 41 51 Please use ONLY FUNCTION AND ARRAYS to solve. Use cin>> in this format Page 9 of 9 779 Words English (US)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!