usıng void functions 1. Complete the prograna shoan below. Note do sot omit the comments a) You will wnite a void fanction to get a positive integer between I and 12 inclasive. The twelve mumbers represent the months of the year. The user will be asked to enter an integer between I and 12 inclasive. If the mumber entered by the user is not within range, an appropriate error message will be displayed, and the user will be acked to try again uatil a valid number is entered. b) You will write a void function to priat the month number and the month name with an appropriate message. Consider a good layout when duplaying the output c) You will also complete the function main by making a call to the function GetMonthNumber with an appropriate argarment and by making a call to the fanction DisplayMonth with an appropriate argameat d) Add a loop to allow the program to repeat, allowing the user to continue. Consider proper indentation and alignment of the statements. e) Output your name as wel before the program ends. f) Test the fuactions using different test data. Show several examples to show that the program performs valıdation check as well. Write the documeatation and include the screenshots. ) Submit the files to Moodles: cpp. exe, and the Word document.
usıng void functions 1. Complete the prograna shoan below. Note do sot omit the comments a) You will wnite a void fanction to get a positive integer between I and 12 inclasive. The twelve mumbers represent the months of the year. The user will be asked to enter an integer between I and 12 inclasive. If the mumber entered by the user is not within range, an appropriate error message will be displayed, and the user will be acked to try again uatil a valid number is entered. b) You will write a void function to priat the month number and the month name with an appropriate message. Consider a good layout when duplaying the output c) You will also complete the function main by making a call to the function GetMonthNumber with an appropriate argarment and by making a call to the fanction DisplayMonth with an appropriate argameat d) Add a loop to allow the program to repeat, allowing the user to continue. Consider proper indentation and alignment of the statements. e) Output your name as wel before the program ends. f) Test the fuactions using different test data. Show several examples to show that the program performs valıdation check as well. Write the documeatation and include the screenshots. ) Submit the files to Moodles: cpp. exe, and the Word document.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question

Transcribed Image Text:Σ
00
LO
R
%24
BA11 (1) - Protected View - Saved to this PC
no.
References
Mailings
Review
Help
n contain viruses. Unless you need to edit, it's safer to stay in Protected View.
Enable Editing
using void functions
1. Complete the program shown below. Note: do not omit the comments
a) You will write a void function to get a positive integer between 1 and 12 inclusive. The fwelve
mumbers represent the months of the year. The uzer will be asked to enter an integer between 1 and 12
inclusive. If the mumber entered by the user is not within range, an appropriate error message will be
displayed, and the nser will be asked to try again uatil a valid number is entered.
b) You will write a void function to print the month mumber and the month name with an appropriate
message. Consider a good layout when displaying the output
c) You will also complete the function main by making a call to the fmction GetMonthNumber with
an appropriate argument and by making a call to the function DisplayMonth with an appropriate
argument
d) Add a loop to allow the program to repeat, allowing the user to continue. Consider proper indentation
and alignment of the statements.
e) Output your name as well before the program ends.
f) Test the functions using different test data. Show several examples to show that the program performs
validation check as well. Write the documentation and include the screenshots.
g) Submit the files to Moodles: .cpp, .exe, and the Word document.
I.
CFocus
M
意。
du
114
144
DD\
6
3.
2
1/4
1/2
4.
1.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images

Knowledge Booster
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.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education