Functions Pass By Pointer

for this assignment you will complete AND functions

as always start by copying over all the files provided for you



The function definitions are in "functions.h" you will create and the function bodies in "functions.cpp"
File: functions.h 

#pragma once // to avoid multiple includes

#include "cmpslib19.h"
#include "easylogging++.h"







// create a function  that determines the middle value of ( int )parameters 2,3,4 and stores that value into the 1st parameter 

void Function1(int *, int ,int,int);




// create a functions that determines the middle value of ( char ) parameters 2,3,4 and stores that value into the 1st parameter 

void Function2(char *, char,char,char);




// create a function that determines the sum of parameters 2,3,4,5,6 and stores that result in parameter 1 

void Function3(double*,double,double,double,double,double);




// create a functions that can sort parameters 1 ,2 ,3  in ascending order

void Function4(double*, double*, double*);




// create a functions that can sort parameters 1 ,2 ,3  in descending order

void Function5(double*, double*, double*);




// create a function that can be used to change a char to uppercase, it should have one pass by value parmameter, do not use the toupper function

// you may want to use isalpha to determine if it is a letter though

char Function6(char input);




// create a function that can be used to change a char to lowercase, it should have one pass by value parmameter, do not use the tolower function

// you may want to use isalpha to determine if it is a letter though

char Function7(char input);




// create a function that can be used to change a char to uppercase, it should have one pass by pointer parmameter, do not use the  toupper function

// look an ascii chart for clues

// you may want to use isalpha to determine if it is a letter though

void Function8(char *  input);




// create a function that can be used to change a char to lowercase, it should have one pass by pointer parmameter, do not use the tolower function

// look at an ascii chart for clues

void Function9(char *  input);





functions.h -- put your function prototypes here functions.cpp -- put your function bodies here main1.cpp -- create a main to test that your functions do what they are supposed to do for full credit: 1. In the main you will need to test ALL of your functions and make sure they are correct 2. Test each of your functions at least 3 times with disparate values 3. log the start and end of all functions at the VERY LEAST 4. make sure your code compiles with out warnings
for the toUppercase to Lowercase functions make sure the value is between 'a' and 'z' or between 'A' and 'Z' respectivly if the you are supposed to convert it to uppercase and it is not a lowercase char do NOTHING use similar logic for converting to lowercase, if its not uppercase do NOTHING to actually do the conversion you will either add or subract the difference ('a' - 'A') google ascii chart and take a look.. char data types are actually stored as a number so standard operations like <,<=,==, != work