//Develop a program that would calculate the sum of the arithmetic sequence Tn = 400 + (n-1) //Write a program that allows a user to search an array for a name, if the name exists the program should print the name, if it doest exist it should ask whether the user would like to add the name or not, if the user agrees , the user should be able to add the name (5). //Write an OOP program that prints the length of your name (5) //Discuss the difference between imperative and functional c++ //Create a C++ Function that returns the Largest and the smallest number given an array //Create a function that returns true if a number is odd //Discuss the types of pointers in c++ #include using namespace std; #define ARRAY_SIZE 4 #define ARRAY_EXTENDED_SIZE 5 int main() { int choice; bool found = false; string names[ARRAY_SIZE] = {"john","ndivho","budzwa","edmond"}; string namesextended[ARRAY_EXTENDED_SIZE]; string name; cout << "Welcome to the student names database , type in a name to see if it exsists. : "; cin >> name; for(int i=0;i> choice; if(choice==1) { string str; cout<< "Enter the name you would like to add : "; cin >> str; for(int i = 0;i