C++ Programming: Having trouble with this assignment and need help writing it in C++ in Visual studio 2019. In this form
Posted: Fri May 20, 2022 6:25 pm
C++ Programming:
Having trouble with this assignment and need help writing
it in C++ in Visual studio 2019. In this format- with main
function, call class info and then menu from it. Then call display
digit functions so it can be done with for/while loops with some if
statements. No need for arrays and use
only <stdio.h>. Thank you.
CIS 6 Fall 2021 - Homework #4 - Page 1 of 5 Turn In: 1. Exercise #1 - Due on Monday, April 25, 2022 by 11:00pm as Email Submission a) For each exercise, a package must be generated to include the following items: Copy of your source file (C program)-your source file MUST BE NAMED as cis6Spring2022 YourNameHw4Exl.c Copy of output (copy and paste to the end of your program as PROGRAM_OUTPUT comment block) Copy of Logic_code_Output_Issues comment block (as a separate comment block) after the PROGRAM_OUTPUT. b) Emailing each package as follows, One email message for each exercise. The SUBJECT line of the message should have the following line: cis6Spring2022YourNameHw4Exl.c Attaching the source file that was created in part a). 2. Reminder! Getting the program to work is not enough to earn full credit. Your program must run correctly and follow all proper convention and consistent styles as explained in class in order to receive credit accordingly. 3. We write code to manipulate data, which are provided by the user(s), to produce the required outcome in the most efficient way! 4. Q.E.D. Important Note! Except stdio.h, you are not allowed to include any files that you did not write/create. You are not allowed to use any code that you did not write. You are only allowed to used syntax and what being instructed in class. • All required outputs, details, and displays should be kept the same — explanation to be given in class meetings. Read the posted document codingStyle20220122.C to avoid silly mistakes and penalties! 米米米米米米米多米米米 *****************
CIS 6 Fall 2021 - Homework #4 - Page 2 of 5 1. Coding Assignment Exercise #1 - Due Monday, April 25, 2021 by 11:00pm by Email (1) Write a C program with calls to functions to produce the output given below. (2) The program should display the output to screen as CIS 6 - Introduction to Programming (Using C) Laney College Your Name Information -- Assignment: HW #4 Exercise #1 Implemented by: Your Name Submitted Date: 2022/04/25 Current Number of LEB available: ? Allowed Number of LEB Used: ? Remaining Number of LEB: ? You need to replace "Your Name” with your real name and “Due Date" with the specified due date. The above result should come from a call to a function named as displayClassInfo Your Name(), where Your Name must be replaced by your first name and your last name initial. For examples, if your name is John Smith then Your Name should be Johns throughout all of your work/code as mentioned. (3) The program will then continue to call other functions and display the results as follows, 1/ OUTPUT - Sample Run CIS 6 - Introduction to Programming (Using c) Laney College Your Name Information -- Assignment: HW #4 Exercise #1 Implemented by: Your Name Submitted Date: 2022/04/25 Current Number of LEB available: ? Allowed Number of LEB Used: ? Remaining Number of LEB: ? MENU - HW #4 (1) Calling displayAllDigitYour Name) (2) Quit Enter an integer for option + ENTER: 6 Wrong Option! MENU - HW #4 (1) Calling displayAllDigitYour Name() (2) Quit
CIS 6 Fall 2021 - Homework #4 - Page 3 of 5 Enter an integer for option + ENTER: 1 Enter an integer: -9 Calling displayAllDigitYour Name () with argument of -9 -- -9 is a negative number. There is/are 1 digit(s). The digit(s) would be 9 There is/are o even digit(s). There is/are 1 odd digit(s) of 9 MENU - HW #4 (1) Calling displayAllDigitYourName() (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: -13454 Calling displayAllDigitYour Name () with argument of -13454 -- - 13454 is a negative number. There is/are 5 digit(s). The digit(s) would be 4 3 1 There is/are 2 even digit(s) of There is/are 3 odd digit(s) of 5 3 1 MENU - HW #4 (1) Calling displayAllDigitYour Name() (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: 3450406
CIS 6 Fall 2021 - Homework #4 - Page 4 of 5 Calling displayAllDigitYour Name () with argument of 3450406 -- 3450406 is a positive number. There is/are 7 digit(s). The digit(s) would be 4 0 5 4 3 There is/are 5 even digit(s) of 4 4 There is/are 2 odd digit(s) of 3 * MENU - HW #4 (1) Calling displayAllDigitYour Name() (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: -3450406 Calling displayAllDigitYour Name() with argument of -3450406 -3450406 is a negative number. There is/are 7 digit(s). The digit(s) would be 0 There is/are 5 even digit(s) of 4 0 4
CIS 6 Fall 2021 - Homework #4 - Page 5 of 5 There is/are 2 odd digit(s) of 5 3 MENU - HW #4 (1) Calling displayAllDigitYour Name() * (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: 0 Calling displayAllDigitYour Name() with argument of o-- The given value is ZERO! MENU HW #4 (1) Calling displayAllDigitYour Name() (2) Quit Enter an integer for option + ENTER: 2 Have fun! At least, your program should have and use the following functions, displayClass InfoYour Name() displayAllDigitYour Name() where Your Name must be replaced by your first name and your last name initial as mentioned The sample run will have the options and values selected by the user. At least, you must run your program to produce the output as shown above. (4) Save the program as cis6Srping2022Your Name Hw4Ex1.c; and (5) The above output should be copied to the OUTPUT comment block as shown. Note! • Except stdio.h, you are not allowed to include any files that you did not write/create. You are not allowed to use any code that you did not write. You are only allowed to used syntax and what being instructed in class. All required outputs, details, and displays should kept the same — explanation to be given in class meetings. . Read the posted document codingStyle20220122.C to avoid silly mistakes and penalties!
Having trouble with this assignment and need help writing
it in C++ in Visual studio 2019. In this format- with main
function, call class info and then menu from it. Then call display
digit functions so it can be done with for/while loops with some if
statements. No need for arrays and use
only <stdio.h>. Thank you.
CIS 6 Fall 2021 - Homework #4 - Page 1 of 5 Turn In: 1. Exercise #1 - Due on Monday, April 25, 2022 by 11:00pm as Email Submission a) For each exercise, a package must be generated to include the following items: Copy of your source file (C program)-your source file MUST BE NAMED as cis6Spring2022 YourNameHw4Exl.c Copy of output (copy and paste to the end of your program as PROGRAM_OUTPUT comment block) Copy of Logic_code_Output_Issues comment block (as a separate comment block) after the PROGRAM_OUTPUT. b) Emailing each package as follows, One email message for each exercise. The SUBJECT line of the message should have the following line: cis6Spring2022YourNameHw4Exl.c Attaching the source file that was created in part a). 2. Reminder! Getting the program to work is not enough to earn full credit. Your program must run correctly and follow all proper convention and consistent styles as explained in class in order to receive credit accordingly. 3. We write code to manipulate data, which are provided by the user(s), to produce the required outcome in the most efficient way! 4. Q.E.D. Important Note! Except stdio.h, you are not allowed to include any files that you did not write/create. You are not allowed to use any code that you did not write. You are only allowed to used syntax and what being instructed in class. • All required outputs, details, and displays should be kept the same — explanation to be given in class meetings. Read the posted document codingStyle20220122.C to avoid silly mistakes and penalties! 米米米米米米米多米米米 *****************
CIS 6 Fall 2021 - Homework #4 - Page 2 of 5 1. Coding Assignment Exercise #1 - Due Monday, April 25, 2021 by 11:00pm by Email (1) Write a C program with calls to functions to produce the output given below. (2) The program should display the output to screen as CIS 6 - Introduction to Programming (Using C) Laney College Your Name Information -- Assignment: HW #4 Exercise #1 Implemented by: Your Name Submitted Date: 2022/04/25 Current Number of LEB available: ? Allowed Number of LEB Used: ? Remaining Number of LEB: ? You need to replace "Your Name” with your real name and “Due Date" with the specified due date. The above result should come from a call to a function named as displayClassInfo Your Name(), where Your Name must be replaced by your first name and your last name initial. For examples, if your name is John Smith then Your Name should be Johns throughout all of your work/code as mentioned. (3) The program will then continue to call other functions and display the results as follows, 1/ OUTPUT - Sample Run CIS 6 - Introduction to Programming (Using c) Laney College Your Name Information -- Assignment: HW #4 Exercise #1 Implemented by: Your Name Submitted Date: 2022/04/25 Current Number of LEB available: ? Allowed Number of LEB Used: ? Remaining Number of LEB: ? MENU - HW #4 (1) Calling displayAllDigitYour Name) (2) Quit Enter an integer for option + ENTER: 6 Wrong Option! MENU - HW #4 (1) Calling displayAllDigitYour Name() (2) Quit
CIS 6 Fall 2021 - Homework #4 - Page 3 of 5 Enter an integer for option + ENTER: 1 Enter an integer: -9 Calling displayAllDigitYour Name () with argument of -9 -- -9 is a negative number. There is/are 1 digit(s). The digit(s) would be 9 There is/are o even digit(s). There is/are 1 odd digit(s) of 9 MENU - HW #4 (1) Calling displayAllDigitYourName() (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: -13454 Calling displayAllDigitYour Name () with argument of -13454 -- - 13454 is a negative number. There is/are 5 digit(s). The digit(s) would be 4 3 1 There is/are 2 even digit(s) of There is/are 3 odd digit(s) of 5 3 1 MENU - HW #4 (1) Calling displayAllDigitYour Name() (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: 3450406
CIS 6 Fall 2021 - Homework #4 - Page 4 of 5 Calling displayAllDigitYour Name () with argument of 3450406 -- 3450406 is a positive number. There is/are 7 digit(s). The digit(s) would be 4 0 5 4 3 There is/are 5 even digit(s) of 4 4 There is/are 2 odd digit(s) of 3 * MENU - HW #4 (1) Calling displayAllDigitYour Name() (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: -3450406 Calling displayAllDigitYour Name() with argument of -3450406 -3450406 is a negative number. There is/are 7 digit(s). The digit(s) would be 0 There is/are 5 even digit(s) of 4 0 4
CIS 6 Fall 2021 - Homework #4 - Page 5 of 5 There is/are 2 odd digit(s) of 5 3 MENU - HW #4 (1) Calling displayAllDigitYour Name() * (2) Quit Enter an integer for option + ENTER: 1 Enter an integer: 0 Calling displayAllDigitYour Name() with argument of o-- The given value is ZERO! MENU HW #4 (1) Calling displayAllDigitYour Name() (2) Quit Enter an integer for option + ENTER: 2 Have fun! At least, your program should have and use the following functions, displayClass InfoYour Name() displayAllDigitYour Name() where Your Name must be replaced by your first name and your last name initial as mentioned The sample run will have the options and values selected by the user. At least, you must run your program to produce the output as shown above. (4) Save the program as cis6Srping2022Your Name Hw4Ex1.c; and (5) The above output should be copied to the OUTPUT comment block as shown. Note! • Except stdio.h, you are not allowed to include any files that you did not write/create. You are not allowed to use any code that you did not write. You are only allowed to used syntax and what being instructed in class. All required outputs, details, and displays should kept the same — explanation to be given in class meetings. . Read the posted document codingStyle20220122.C to avoid silly mistakes and penalties!