
Assignment: 01
OOP and DATA STRUCTURE
1. Write a program in c++ to input values into an array. Find out the total
number of odd and even values entered in the array.
2. Write a program in c++ to input values into a table find out the total
number of odd values entered in it and print these on the screen.
3. Write a program into a string insert a character into a specified location
into the string. Print on the screen the entered string and the string after
entering the character.
4. Write a program in c++ to input data into a string. Delete a specific
character from string. Print on the screen the entered string and the
string after deleting the character.
5. Write a program in c++ to input data into a string and find out its length
without using any built in function.
6. Write a program in c++ to input values into a table and find out the
maximum value entered in the table. Print out the maximum value and
its location in the table.
7. Write a program in c++ to exchange the values of two variables by using
the pointers.
8. Write a program in c++ to input data into an array and then to find out
the minimum value n the array by using the pointer.