Write the function prototype for the function described below by writing the function's return type and input parameters list. Do not implement the body of the function. Use the example call to the function to help you write the prototype. To receive full credit, use data types that best describe the function's use and specify input parameters to be pass by reference only when necessary. The function display_letters outputs to the screen consecutive letters in the alphabet given a starting letter and the total number of letters to display. If the input is invalid, the funcțion displays nothing. Here is an example of calling the function:

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.3: Returning Multiple Value
Problem 6E
icon
Related questions
Question
Write the function prototype for the function described below by writing the function's return
type and input parameters list. Do not implement the body of the function. Use the example call to the
function to help you write the prototype.
To receive full credit, use data types that best describe the function's use and specify input parameters
to be pass by reference only when necessary.
The function display_letters outputs to the screen consecutive letters in the alphabet given a starting
letter and the total number of letters to display. If the input is invalid, the funcțion displays nothing. Here is
an example of calling the function:
int main() {
cout <« "The letters are ";
display_letters('c', 5);
return 0;
When the main function is run, the program will print to the screen:
The letters are c, d, e, f, g
Write the complete function prototype for display_letters in the answer bo
x HERE:
Transcribed Image Text:Write the function prototype for the function described below by writing the function's return type and input parameters list. Do not implement the body of the function. Use the example call to the function to help you write the prototype. To receive full credit, use data types that best describe the function's use and specify input parameters to be pass by reference only when necessary. The function display_letters outputs to the screen consecutive letters in the alphabet given a starting letter and the total number of letters to display. If the input is invalid, the funcțion displays nothing. Here is an example of calling the function: int main() { cout <« "The letters are "; display_letters('c', 5); return 0; When the main function is run, the program will print to the screen: The letters are c, d, e, f, g Write the complete function prototype for display_letters in the answer bo x HERE:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

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++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
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