#include #include /* CSC15 Final Exam Study Guide, with sample solutions The final exam will be cumulative. All topics covered on the Midterm will also be covered (refer to the midterm study guide on the web page). Pay particular attention to the definition and use of classes and objects. You will be asked to write a number of small functions that require the use of loops, arrays, and strings. These functions will be mostly similar to examples we've done in class. You will be asked to write a class and demonstrate the creation of objects, as on the midterm. The class must be written from scratch. There will be one or two questions that are intended to be difficult. What to study: Class notes Sample programs I've written, some of which are on the web page. Midterm and quizzes Past labs and assignments Portions of the text that parallel the lectures Class notes REVIEW SESSION SUNDAY 5/13 at 2pm (in regular classroom). Sample Problems: 1. Write a function that takes an array of integers and multiply each element of the array by 2. For example, {1,3,5} should become {2,6,10}. */ void doublearray(int A[], int size) { int i; // loop counter i = 0; while (i