Question about Computers & Internet

2 Answers

Can I get the asswer for the below questions

1. Using C++ , design and implement a class COMPLEX having the following functionality:a) allows representation of complex numbers
b) allows addition of two complex numbers
c) has overloading constructors and a copy constructor
d) allows assignment of one complex number to another

2. An EMPLOYEE class contains the following members:
Data members: employee_number, employee_name, basic pay, allowance, income tax, net salary
Member functions: to read the data, to calculate net salary and to print data members
Write a C++ program to read the data of 5 employees and compute the net salary of each employee given that the allowance is 20% of the basic pay and income tax is 30% of the gross salary (basic pay+allowance)

3. Assume that a bank maintains two kinds of accounts for customers, one called savings account and the other as current account. The savings account provides compound interest and withdrawal facilities but no cheque book facility. The current account provides cheque book facility but no interest. Current account holders should also maintain a minimum balance and if the balance falls below this level, a service charge is imposed.  
Create a class ACCOUNT that stores customer name, account number and type of account. From this derive the class CUR_ACCT and SAV_ACCT to make them more specific to their requirements. Include necessary member functions in order to achieve the following:
a) accept deposit from a customer and update the balance
b) display the balance
c) compute and deposit interest
d) permit withdrawal and update the balance
e) check for minimum balance, impose penalty, if necessary, and update the balance
Use member functions to initialize the class members. Do not use constructors.

4. Write a C++ program to create a class called QUEUE with member functions to add an element and to delete an element from the queue. Display the contents of the queue after every operation.

5. Write a C++ program to create a class called STRING and do the following operations. Show the results after every operation by overloading the operator <<. Use copy constructor.
STRING s1 = “KUVEMPU”
STRING s2 = “UNIVERSITY”
STRING s3 = s1+s2 

6. Write a C++ program to create a class called DATE. Accept two valid dates in the form dd/mm/yyyy. Implement the following operations by overloading the operators + and -. After every operation show the results by overloading the operator <<:
a) ndays = d1 – d2; where d1 and d2 are DATE objects, d1>=d2 and ndays is an 
  integer. 
b) d2 = d1 + ndays; where d1 is a DATE object and ndays is an integer.
 
7. Create a class FLOAT that contains one float data member. Overload all the four arithmetic operators so that they operate on the objects of FLOAT.

8. Create a base class called SHAPE. Use this class to store two double type values that could be used to compute the area of figures. Derive two specific classes called TRIANGLE and RECTANGLE from the base SHAPE. Add to the base class, a member function get_data() to initialize the base class data members and another member function display_area() to compute and display the area of the figures. Make display_area() as a virtual function and redefine this function in the derived classes as per the requirements. Using the three classes, design a program that will accept dimensions of a triangle or rectangle interactively and display the area. The two values given as input will be treated as lengths of the two sides in the case of a rectangle and as base and height in the case of triangles. 
Area of a rectangle = side1 * side2
Area of a triangle = ½ * side1 * side2

9. A book shop maintains the inventory of books that are being sold at the shop. The list has details like author, title, price, publisher and stock position. Whenever a customer wants a book, the sales person inputs the title and author and the system searches the list and displays a suitable message if it is not available. If it is available, the system displays the book details and requests for the number of copies required. If the copies are available, the total cost of the copies requested is displayed, otherwise the message ‘copies not in stock’ is displayed. 
Design a system using a class called BOOKS with suitable member functions and constructors. Use new operator in constructors to allocate required memory space.



Posted by on

  • 3 more comments 
  • aumitav_17 Nov 21, 2008

    Yes, As early as possible

  • Anonymous Dec 13, 2008

    the code

  • rahulmatolia May 08, 2009

    1. Create a class FLOAT that contains one float data member. Overload all the four arithmetic operators so that they operate on the objects of FLOAT.

  • rahulmatolia May 08, 2009

    1. Write a C++ program to create a class called STRING and do the following operations. Show the results after every operation by overloading the operator <<. Use copy constructor.

    STRING s1 = “KUVEMPU”

    STRING s2 = “UNIVERSITY”

    STRING s3 = s1+s2

  • rahulmatolia May 08, 2009

    1. Using C++ , design and implement a class COMPLEX having the following functionality:a) allows representation of complex numbers
    b) allows addition of two complex numbers
    c) has overloading constructors and a copy constructor
    d) allows assignment of one complex number to another

×

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 2 Answers

A book shop maintains the inventory of books that are being sold at the shop. The list has details like author, title, price, publisher and stock position. Whenever a customer wants a book, the sales person inputs the title and author and the system searches the list and displays a suitable message if it is not available. If it is available, the system displays the book details and requests for the number of copies required. If the copies are available, the total cost of the copies requested is displayed, otherwise the message ‘copies not in stock’ is displayed.
Design a system using a class called BOOKS with suitable member functions and constructors. Use new operator in constructors to allocate required memory space.

Posted on May 27, 2010

  • Level 1:

    An expert who has achieved level 1.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 1 Answer

I need answers of the above given questions..could i get theanswers plz???

Posted on Dec 24, 2009

2 Suggested Answers

  • 10406 Answers

SOURCE: Create a class called employee

Nice try!
Find an upper-class student that can give one-on-one tutoring with your homework.

Posted on Dec 02, 2009

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

What does bmc mean and what is it for on 1 2001 buick lesabre


BCM - body control module a computer that controls functions on your vehicle . A BCM controls light's , power door lock's , anti-theft system control , Remote keyless entry , headlamps . On your vehicle three modules make up the body control system .
The body control system consists of the following 3 modules:
• The dash integration module (DIM)
• The instrument panel integration module (IPM)
• The rear integration module (RIM)
Each of the 3 body control modules integrate a number of functional systems under the control of a single module. Each of the modules are connected to the Class 2 serial data line; many control signals are implemented by Class 2 messages.
Dash Integration Module (DIM)
The DIM is wired to the class 2 serial data line. The various DIM input and output circuits are described in the corresponding functional areas as indicated on the DIM electrical schematics.
The DIM functions include the following:
• Control of headlights and exterior lamps
• Horn relay control
• Interior lamps incandescent dimming
• Lamps On signal with wiper/washer
• Power moding control over Class 2 serial data line
• Steering wheel controls
• Storage of the clock settings and, sending a message out on the class 2 serial data circuit in response to requests from other modules

Serial Data Power Mode
On vehicles that have several control modules connected by serial data circuits, one module is the power mode master (PMM). On this vehicle the PMM is the DIM. The PMM receives 4 signals from the ignition switch.
To determine the correct power mode the PMM uses the following circuits:
• Accessory voltage
• Ignition 1 voltage
• Ignition 3 voltage
• Off/Run/Crank voltage

Rear Integration Module (RIM)
The RIM is wired to the class 2 serial data line. The various RIM input and output circuits are described in the corresponding functional areas as indicated on the RIM electrical schematics.
The RIM functions include the following:
• The ajar switch and tamper switch inputs from the rear compartment lid
• The automatic level control
• The cigar lighter relay control
• The fuel door lock and release control
• The heated seat controls
• The park brake relay control
• The rear compartment lid release controls
• The rear defogger relay control
• The retained accessory power (RAP) relay control
• The reverse lamp relay control
• The various controls for the interior lamps

Mar 21, 2017 | Buick LeSabre Cars & Trucks

1 Answer

I have a 2001 Cadillac deville and was wondering if i have another car just like it, is it possible i change out the bcm and our other modules needed.


The body control system consists of the following 3 modules:
• The Dash Integration Module (DIM)
• The Instrument Panel Module (IPM)
• The Rear Integration Module (RIM)
Each of the 3 body control modules integrate a number of functional systems under the control of a single module. Each module is connected to the Class 2 serial data circuit, many of the control functions are implemented by Class 2 messages.

Plus they would need to be programmed . Dealer only .

Dec 05, 2016 | 2001 Cadillac DeVille

1 Answer

2001 deville bcm removal


Which one ? do you know ?
The body control system consists of the following 3 modules:
• The Dash Integration Module (DIM)
• The Instrument Panel Module (IPM)
• The Rear Integration Module (RIM)
Each of the 3 body control modules integrate a number of functional systems under the control of a single module. Each module is connected to the Class 2 serial data circuit, many of the control functions are implemented by Class 2 messages.
An after you replace or change one of these modules it has to be programmed .
On vehicles that have several control modules connected by serial data circuits, one module is the power mode master (PMM). On this vehicle the PMM is the DIM. The PMM receives 4 signals from the ignition switch.
To determine the correct power mode the PMM uses the following circuits:
• Accessory voltage
• Ignition 1 voltage
• Ignition 3 voltage
• Off/Run/Crank voltage .
So , what problem are you having ?

Nov 05, 2016 | 2001 Cadillac DeVille

1 Answer

What is a splitting maul?


A splitting maul is a splitting implement that has evolved from the simple wedge design to more complex designs.

Apr 18, 2013 | Tools & Hardware - Others

1 Answer

What is a splitting maul?


A splitting maul is a splitting implement that has evolved from the simple wedge design to more complex designs.

Feb 03, 2013 | Garden

1 Answer

Hi,I will like to have ? list of various websites that can Actually help with Answers to assignment


Website perform several functions. For example, website provide recognition of business establishments where amongs several data that is provided on site are resources contributing towards establishment operations. Websites may provide resources referencing where for example microsoft device sites provide technical support requirements. Alternatively, websites may have live features where for example, exchange of resources are achievable. Several websites perform various functionalities amongs which assignement resources are contributed towards. For example, school website provide shared resources also possible are assignement resources exploration features. However, websites could be designed to suit specifications explained briefly. If i was asked to design a website to help answer assignments, the following requirement would achieve the process.

First, The course subject would be required to determine assistance type. For example, math classes require calculator websites either as resource formular pages or formular establisment sites. if i was required to design a math class website, the formale sheet would be required to be key coded. Asking a computer programmer to create a web site would require the following lists.

1. The type of website, an example of which is assignment answering resources center.
2. Second, the programmer requires examples of what the website would perform to the requestor. For example, a simple assigments website in maths would have a separate page for calculator functionalities. Alternatively, maths websites may require from the requestor the trype of questions of assigments as module of construction. For example, i want a webpage to calculate by adding numbers. Programmers should be provided with 1+1 =2 where 1+2=3 as programmers visual guide to designing and coding the website. keep in mind that the type of request from the programmer would determine what would be produced.

Jan 11, 2011 | Computers & Internet

1 Answer

Using c++, design and imlement a class COMPLEX having the following functionality: a) allows represenntation of complex numbers b) allows addition of two complex numbers c) has overloading...


Check any c++ book you will see this program on the 1st page of Operating overloading chapter.
Look in Robert Lafore or Balaguruswamy's book.

Thanks !!
Pls vote if you like the solution.

Nov 29, 2010 | Computers & Internet

1 Answer

1 To develop a problem statement. 2. Develop an IEEE standard SRS document. Also develop risk management and project plan (Gantt chart). 3. Identify Use Cases and develop the Use Case model. 4....


Sorry, do your own homework. Do you realize the harm you could cause by getting an IT position after cheating your way through school?

Mar 15, 2017 | Cycling

1 Answer

In cpp programming why do we go for abstract base class?


Virtual keyword allows the program to dynamically decide which function to call. That is, when derived class is inherited from a base class the function in derived class can perform a completely different action from the one in Base class. Hence the function call via a pointer or reference maps to different functions based on the type of the object.

Abstract base class is used, so that anyone who is inherting from this class should implement that interface. Because the base class may not have a meaningful implementation for that interface. For example to design a program for computing area of different shapes like rectangle, triangle, hexagon etc. base class can be thought of as Shape. In addition the base class can be made abstract by declaring Area to be a pure virtual function. Then the different shapes like Rectangle, Triangle classes can inherit from Shape and implement Area interface based on their formulae.

Apr 06, 2009 | Microsoft Computers & Internet

Not finding what you are looking for?

Open Questions:

0 Answers

Tech+Help{~1^877^778^89^69~}Avira Antivirus Support Helpline Number? USA 1-877-778-89-69 Avira Antivirus Support Helpline number is straightforward to use. Avira Antivirus Support phone number is open twenty four hours daily and seven days per week.Avira Antivirus support Helpline Number's agent will assist you with remote help.Avira Antivirus Support Helpline Number 1-877-778-89-69 is one of the most promosing and helpfull number of any Antivirus issue's.We are open 24*7,ready to solve your problem with just a TollFree call:-1-877-778-89-69 .Our expert team finding your issues area and solve the problem in faster and easier way.We are Happy To Help You.We are Avira Antivirus SupportUSA.A single call will change your life.just dial:-1-877-778-89-69. For any question or help:-1877~778~89~69. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number. Avira Antivirus Support Phone Number Avira Antivirus Customer Service Phone Number Avira Antivirus Tech Support Phone Number Avira Antivirus support Helpline Number Avira Customer support Telephone Number Avira Helpdesk number Avira Tech support Telephone number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number Avira Security Tech Support Number Free Avira Antivirus Customer Support Number Avira Customer Service Tollfree Number.

May 24, 2017 | Avira Computers & Internet

Computers & Internet Logo

Related Topics:

1,700 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...