Question: in c++ programming Holding Profits Program 3 Assignment Program 3 manipulates data through input and output. This data is represented in a record structure with

in c++ programming
Holding Profits  in c++ programming Holding Profits Program 3 Assignment Program 3 manipulates
data through input and output. This data is represented in a record

Program 3 Assignment Program 3 manipulates data through input and output. This data is represented in a record structure with various fields Declare a record structure (struct) with at least 4 fields one field of type string, another field of type array of integer with 5 elements, another field of type char and the last field of type float. All the fields should be related since the structure represents a record of 4 fields Each field has a name and a type mentioned previously. Do not create your record structure similar to the practice samples in the class. In this assignment, for example, do not create a student record nor an employee record. Both structures were used in the examples of the unit's content The program should have a ment where the user chooses between the following: 1) enter the data 2) present the data 3) change the data of a specific field If the uver picks option 1 The program should ask for the input of each field within the record Remember that the values entered depends on the field type. The message before the input request should be clear to facilitate the input itself. The input should be interactive through the keyboard and not through assignments If the user picks option 2 All the fields entered within the record should be presented. These fields should have values. The program should validate with a condition that the record 1 not empty, because you can not present data from an empty record. If the user select option 2 before option this means that the record is empty and it has no data. To validate the empty record you should compare the content of one of its fields to zero or blank, depending on the field type Therefore, it is important that you initialize the fields of your record at the beginning of the program If the user picks option 3 This option should have like a sub-menu to identity the field to change. You should ask which field within the record you want to change the response to this question depends on your programming design. Does the user select an option within a submenu or does the user enter a field name. Either way, you teed to compare the response in order to ask the user for the new value of the specific field in this option you also need to validate for an empty record 1 the record has no data, you can not change its content The user should pick option fest, so the record has values. Once you change the content of a field you should see the new value when you select option 1 blackboard.com/webapp/blackboard/execute/displaylearningUnit/course_d_29371918 content id 19101264, 18.framesetWrapped=true Q Program 3 Assignment Program 3 manipulates data through mput and output. This data is represented in a record structure with various fielde Declare a record structure (struct) with at least 4 fields one field of type string, another field of type array of integer with 5 elements, another field of type char and the last field of type float. All the fields should be related since the structure represents a record of 4 fields Each field has a name and a type mentioned previously. Do not create your record structure similar to the practice examples in the class. In this assignment, for example, do not create a student record nor in employee record. Both structures were used in the examples of the units content The program should have a mens where the user chooses between the following 1) enter the data 2) present the data 3) change the data of a specific field 4) exil If the userpicks option 1 The program should ask for the input of each field within the record Remember that the values entered depends on the field type The message before the mpat request should be clear to facilitate the input itself The input should be interactive through the keyboard and not through assignments If the user picks option 2 All the fieldi entered within the record should be presented. These fields should have values. The program should validate with a condition that the record is bot empty bremuse you can not prevent data from an empty second if the user select option 2 Lefore option this means that the record ta empty and it has no data Totalidate the empty record you should compare the content of one of its fields to zero or blank depending on the field type Therefore, it important that you intulize the fields of your record at the beginning of the program If the user picks option This option should has like a vul-meta to identity the field to change You should ask whach torld that the record you want to change the response to this question depends on your programming dessen Does the mer elect option within a rubuntnu er does the mer enters field name Enher way, you tired to compute the response in order to ask the wie for the new value of the prettie field in this option you also need to calitate for an empty record If the record has no data, you can not change its content. The user should pick option first to the record hastalues. Once you chang+ the content of a field you should see the value when you select option 2 1:35 PM 272 Program 3 Assignment Program 3 manipulates data through input and output. This data is represented in a record structure with various fields Declare a record structure (struct) with at least 4 fields one field of type string, another field of type array of integer with 5 elements, another field of type char and the last field of type float. All the fields should be related since the structure represents a record of 4 fields Each field has a name and a type mentioned previously. Do not create your record structure similar to the practice samples in the class. In this assignment, for example, do not create a student record nor an employee record. Both structures were used in the examples of the unit's content The program should have a ment where the user chooses between the following: 1) enter the data 2) present the data 3) change the data of a specific field If the uver picks option 1 The program should ask for the input of each field within the record Remember that the values entered depends on the field type. The message before the input request should be clear to facilitate the input itself. The input should be interactive through the keyboard and not through assignments If the user picks option 2 All the fields entered within the record should be presented. These fields should have values. The program should validate with a condition that the record 1 not empty, because you can not present data from an empty record. If the user select option 2 before option this means that the record is empty and it has no data. To validate the empty record you should compare the content of one of its fields to zero or blank, depending on the field type Therefore, it is important that you initialize the fields of your record at the beginning of the program If the user picks option 3 This option should have like a sub-menu to identity the field to change. You should ask which field within the record you want to change the response to this question depends on your programming design. Does the user select an option within a submenu or does the user enter a field name. Either way, you teed to compare the response in order to ask the user for the new value of the specific field in this option you also need to validate for an empty record 1 the record has no data, you can not change its content The user should pick option fest, so the record has values. Once you change the content of a field you should see the new value when you select option 1 blackboard.com/webapp/blackboard/execute/displaylearningUnit/course_d_29371918 content id 19101264, 18.framesetWrapped=true Q Program 3 Assignment Program 3 manipulates data through mput and output. This data is represented in a record structure with various fielde Declare a record structure (struct) with at least 4 fields one field of type string, another field of type array of integer with 5 elements, another field of type char and the last field of type float. All the fields should be related since the structure represents a record of 4 fields Each field has a name and a type mentioned previously. Do not create your record structure similar to the practice examples in the class. In this assignment, for example, do not create a student record nor in employee record. Both structures were used in the examples of the units content The program should have a mens where the user chooses between the following 1) enter the data 2) present the data 3) change the data of a specific field 4) exil If the userpicks option 1 The program should ask for the input of each field within the record Remember that the values entered depends on the field type The message before the mpat request should be clear to facilitate the input itself The input should be interactive through the keyboard and not through assignments If the user picks option 2 All the fieldi entered within the record should be presented. These fields should have values. The program should validate with a condition that the record is bot empty bremuse you can not prevent data from an empty second if the user select option 2 Lefore option this means that the record ta empty and it has no data Totalidate the empty record you should compare the content of one of its fields to zero or blank depending on the field type Therefore, it important that you intulize the fields of your record at the beginning of the program If the user picks option This option should has like a vul-meta to identity the field to change You should ask whach torld that the record you want to change the response to this question depends on your programming dessen Does the mer elect option within a rubuntnu er does the mer enters field name Enher way, you tired to compute the response in order to ask the wie for the new value of the prettie field in this option you also need to calitate for an empty record If the record has no data, you can not change its content. The user should pick option first to the record hastalues. Once you chang+ the content of a field you should see the value when you select option 2 1:35 PM 272

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!