C Programming - Assignment 9
Assignment -9
-------------------------
All the programs in this assignment are based on the concept of Arrays.
[ There are 16 questions in this assignment ]
- Write program to create an integer array and initialize it with some values
- Write a program to input 10 values in an array and print the 6th value
- write a program to input 10 values in an array and find the sum of first and last values
- Write a program to input 10 values in an array and print the values
- Write a program to input 10 values in an array and print the values in reverse
- Write a program to input 10 numbers in an array and print all the even values of this array
- Write a program to input 10 numbers in an array and print all the odd values of this array.
- Write a program to input 10 values in an array and print the sum of all values of the array
- Write a program to input 10 values in an array and print the sum of only odd values
- Write a program to input 10 values in an array and print the sum of all odd values
- write a program to input 10 values in an array and print all the values which are at odd positions
- Write a program to input 10 values in an array then increase first five values by 2 and last 5 values by 3
- Write a program to input 10 values in an array and then increase all the odd values by 1.
- Write a program to enter 10 values and increase each alternate value with 2.
- Write a program to enter 10 values in an array and displays those values which are divisible by 2 but not divisible by 3
- Write a program to enter 10 values in an array and then replace all even place value with its previous odd place value.
Comments
Post a Comment