Home work on C++ programming for knowledge of struct and classes
Create a personal structure consisting of:
The name,
Fatherland and
The name.Create a STATE structure that contains state information (include the NAME structure in the STATE information structure):
The name
Reduction
The Governor (Man)
Deputy Governor (Man)
Capital of the State
The State Flower
Number of Members in Congress
The Order was adopted into the Union (for example, Delaware was the first state, Hawaii - the 50th)
Year of entry into the Union
In the main program, ask the user the number of states to enter.The program should include up to 50 states.The program must ask the user for entry for states (confirm the entry).After the completion of the program, it must list all the introduced states and their information.At the start of the program, create at least three states.Check the user entrance.All state information is displayed in a table form after entering all state.Start the program several times.2) The
Do the following exercises for this task.In addition to the requirements set out in these exercises for any classes you create, you should also create a class diagram using UML.Create a TV class.Attributes of TV:
Manufacturers
The model
Size of screen
permission
The price
The serial number
The food (i.e.Enabled or Disabled)
The channel
Volume
Two other attributes for your choice
Create a designer for the class that receives the manufacturer, model, screen size, resolution, price and serial number.The designer must set the attributes provided and provide default values for all other attributes.If necessary, include the attributes specified by you.Create the appropriate destructor.Provide individual access/receiving methods that will return the values of different attributes.Provide individual mutator/installation methods that allow the user to turn on/out the TV, change the channel, and set the noise.Provide the appropriate Accessor/Mutator methods for the attributes you provide.Create a basic program that uses a TV class
Allow the user to create several TVs.Ask the user how many TVs you need to create.For each TV:
Ask the user to specify the manufacturer, model, screen size, permission, price and serial number (as well as any fixed attributes you specify).Make sure your program is checking the information.Create an object for television.Using access methods, you will display information about the TV (producer, model, etc.)by D.)Allow the user to change the state of the TV (including / disconnecting, channel, noise, etc.)by D.)Check any entry before calling the relevant functions.To allow the user to change any of the attributes you create (as appropriate)
Show a list of TV channels and their information.Please include in your program:
The corresponding comment and annotage of the headline,
Check the input of any values provided by the user.
Client's review of cooperation with Leonid Gvozdev
Home work on C++ programming for knowledge of struct and classesGreat work! Fast and quality. I will cooperate in the future.
![]()
Freelancer's review of cooperation with client
Home work on C++ programming for knowledge of struct and classesEverything is great, I recommend working with this customer, everything is quick, clear and clear. Contact at the height.
-
328 5 0 Good day, you are ready to help with homework. I can start work right now.
Current freelance projects in the category Desktop Apps
Account reconciliation tool with the bank, cards, and accountantTechnical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to… Python, Desktop Apps ∙ 2 days 3 hours back ∙ 39 proposals |
Add pauses of 10-30 seconds between sending emails.Hello! I am looking for an experienced 1C / BAS (BAF) programmer to promptly resolve a technical issue with email distribution.Problem essence: We use the accounting program BAF (Business Automation Framework), version 2.0. Once a month, there is a need to send about 300 emails… Web Programming, Desktop Apps ∙ 7 days 19 hours back ∙ 10 proposals |
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 8 days 6 hours back ∙ 6 proposals |