Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Power Of Numbers In Health Care A Students Journey In Data Analysis

Authors: Kaiden

1st Edition

8119747887, 978-8119747887

More Books

Students also viewed these Databases questions

Question

Using Language That Works

Answered: 1 week ago

Question

4. Are my sources relevant?

Answered: 1 week ago