(C PROGRAMMING ONLY) 3. Starting My Business by CodeChum Admin I want to be an entrepreneur! But I don't have capital, could you help me find one? Hihi   Instructions: Ask the user for an array of characters/string. For this program, it is guaranteed that the input of the user has one and only one capital character. Your task is to search for that one capital character and then print it and its index. Input 1. Inputted string Output Enter a string: jejuMar Capital M found at index 4

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

(C PROGRAMMING ONLY)

3. Starting My Business
by CodeChum Admin

I want to be an entrepreneur! But I don't have capital, could you help me find one? Hihi

 

Instructions:

Ask the user for an array of characters/string. For this program, it is guaranteed that the input of the user has one and only one capital character.
Your task is to search for that one capital character and then print it and its index.
Input

1. Inputted string

Output

Enter a string: jejuMar
Capital M found at index 4

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr