Question: Assignment 6- Saved File Home Insert D Layot Review View Share | : | Heading 1 Assignment 6 Note: Assignment 6 is one single program


Assignment 6- Saved File Home Insert D Layot Review View Share | : | Heading 1 Assignment 6 Note: Assignment 6 is one single program with two or more function calls 1. Write a C+ function, smallestindex, that takes as parameters an int array and its size and returns the index of the 2. Write another function that prompts the user to input a string and outputs the string in uppercase letters. You must use smallest element in the array. Also the program should test the function a character array to store the string Here's the code I have so far... include header files #include iostream> #include-tstream> using namespace std declare global const const int CAP = 10 canst int MAXCHAR 75 /function prototype int smallndexfint owmsI) char inputSting[MAXCHAR]; start main int main0) declare variables char quit, int nums[CAP] = { 0 }' F0, min=0; iget numbers from user cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
