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:

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 8RQ
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
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