subject

Creating the cellphone class wireless solutions, inc. is a business that sells cell phones and wireless service. you are a programmer in the company's it department, and your team is designing a program to manage all of the cell phones that are in inventory. you have been asked to design a class that represents a cell phone. the data that should be kept as attributes in the class are as follows 1. the name of the phone's manufacturer will be assigned to the manufact attribute 2. the phone's model number will be assigned to the model attribute 3. the phone's retail price will be assigned to the retail_price attribute the class will also have the following methods aninitmethod that accepts arguments for the manufacturer, model number, and retail price a set_manufact method that accepts an argument for the manufacturer. this method will allow us to change the value of the manufact attribute after the object has been created, if necessary a set_model method that accepts an argument for the model. this method will allow us to change the value of the model attribute after the object has been created, if necessary a set_retail_price method that accepts an argument for the retail price. this method will allow us to change the value of the retail _price attribute after the object has been created, if necessary a get_manufact method that returns the phone's manufacturen a get_model method that returns the phone's model number get retail price method that returns the phone's retail price a the cellphone class will be imported into several programs that your team is developing. to test the class, you write the code. this is a simple program that prompts the user for the phone's manufacturer, model number, and retail price. an instance of the cellphone class is created and the data is assigned to its attributes sample program output (with input shown in bold) enter the manufacturer: acme electronics enter enter the model number: m1000 enter enter the retail price: 199.99 enter here is the data that you entered: manufacturer: acme electronics model number m1000 retail price: $199.99

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Which law requires employers to provide safe working environments for their employees? a. civil rights act b. fair labor standards act c. occupational safety and health act d. wagner act
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Consider the following code snippet: #ifndef cashregister_h#define cashregister_hconst double max_balance = 6000000.0; class cashregister{public: cashregister(); cashregister(double new_balance); void set_balance(double new_balance); double get_balance() const; private: double balance[12]; }; double get_monthly_balance(cashregister bk, int month); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_balance should be removed since header files should not contain constants.c)the definition of cashregister should be removed since header files should not contain class definitions.d)the body of the get_monthly_balance function should be added to the header file.
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. รขโ€“ลŸ print out all positive integers from 1 to 100, inclusive and in order. รขโ€“ลŸ print messages to standard output, matching the sample output below. รขโ€“ลŸ in the output, state whether the each integer is 'odd' or 'even' in the output. รขโ€“ลŸ if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. รขโ€“ลŸ if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. รขโ€“ลŸ design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
You know the right answer?
Creating the cellphone class wireless solutions, inc. is a business that sells cell phones and wirel...
Questions
Questions on the website: 13722359