Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ please! Question 2 Create a function called FirstUpper() with return type void that takes a string as parameter. The function converts the first letter

image text in transcribed

C++ please!

Question 2 Create a function called FirstUpper() with return type void that takes a string as parameter. The function converts the first letter for each word in the string to upper case and the remaining letters to lower case. Your main() function should read in the string and then call the function (FirstUpper()) to do the conversion. You must then print the output from main(). Example Output Enter your sentence: capitalize only the FIRST letter for each WORD in string. The string after conversion: Capitalize only the First Letter For Each Word In String. Rubrics 4 point(s): Correct implementation of FirstUpper(). 2 point(s): Using gets(). 2 point(s): Correct output. 2 point(s): No syntax errors

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

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

Understand how customers respond to effective service recovery.

Answered: 1 week ago