Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started