Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a c++ programm with call to functions to produce the output (3) The program will then continue to call other functions and display the

write a c++ programm with call to functions to produce the output
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
(3) The program will then continue to call other functions and display the results as follows, // OUTPUT - A Sample Run CIS 25 - C++ Programming Laney College Your Name Information -- Assignment: HW #1 Exercise #1 Implemented by: Your Name Submitted Date: 2021/02/09 Current Number of LEB available: (ToBeExplained) Allowed Number of LEB Used: (ToBeExplained) Remaining Number of LEB: (ToBeExplained) MENU - HW #1 . (1) Calling displayDigitInfo Your Name ( ) (2) Quit Enter an integer for option + ENTER: 6 Wrong Option! MENU - HW #1 (1) Calling displayDigitInfo Your Name() (2) Quit Enter an integer for option + ENTER: -1 CIS 25 Spring 2021 - HW - Page 3 of 5 Wrong Option! MENU - MW 81 (1) Calling displayDigitInfo Your Name) (2) Quit D. Enter an integer for option + ENTER: 1 Enter an integer: -9 Calling displayDigitInfo Your Name() with argument of 9 The given argument of -9 is a negative value. For this integral value of -9- There is/are 1 digit(s). The digit(s), looking from the LSD to MSD, is/are 3 From the above digit(s) - The largest digit is 9, and it is seen 1 time(s). ... MENU HW 01 (1) Calling displayDigitInforoupName(): (2) Quit Enter an integer for option - ENTER: Wrong Option MENU - HW 21 . (1) Calling displayDigitInfoYour Name() . (2) Quit Enter an integer for option . ENTER: 1 Enter an integer: 284568 Calling displayoigitInfo Your Name() with argument of 284556 The given argument of 284568 is a positive value. For this integral value of 284586 -- There is/are 6 digit(s). The digit(s), looking free the LSD to R50, is/are 6 8 5 4 2 From the above digit(s) - CIS 25 Spring 2021 - HW #1 - Page 4 of 5 The largest digit is a, and it is seen 2 time(s). des . . MENU - HW 81 (1) calling displayDigitInfo Your Name() (2) Quit Enter an integer for option . ENTER: 1 Enter an integer: -84568 Calling displayDigitInfo Your Name() with argument of -84586 The given argument of -34568 is a positive value. For this integral value of -84586 - There is/are 5 digit(s). The digit(s), looking free the LSD to ASD, is/are 5 4 8 2 Fron the above digit(s) - The largest digit is 8, and it is seen 2 time(s). MENU - 1 (1) Calling displayigit Inforour Name) . (2) Quit Enter an integer for option + ENTER: 1 Enter an integerte Calling display igitInfoYour Name() with argument of The given argument of e is a ZERO For this integral value of e-- There is/are 1 digit(s). The digit(s), looking from the 150 To Mo, is/are From the above digit(s) - The largest digit is., and it is seen 1 time(s). RENU - 1 . (1) Calling displayigittsfavour Name() . (2) Quit Enter en integer fer eption + ENTERI 2 Have funt Program Name: cis25Spring2021MenuSetup.cpp Discussion: Fun menu stuff Written By: ??? Date: 2021/01/29 * #include using namespace std; // Function Prototyes void runMenuHw1(void); // Application Driver int main() { runMenuHw1(); return; 3 // Function Definitions void runMenuHw1() { int option; do cout > option; switch (option) case 1: cout while (optiona 2)

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

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago