Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the solution in 1 hour in c++ please a. Create a class called Internet for performing internet providers. Use character variables to represent

I need the solution in 1 hour in c++ please

image text in transcribed

a. Create a class called Internet for performing internet providers. Use character variables to represent the provider, integer variable to represent the price. Provide a constructor that enables an object of this class to be initialized when it's declared to enter the provider name and one package (in Mbps). Provide public methods that perform each of the following tasks: Printing the provider information (print_info). This function has to print the provider information. b. The operator - for calculating the price according to the following table: package (in Mbps) Price (in $) 2 20 5 30 10 40 15 50 Test these functions in the main program. a

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

Explain the incorporation of doctrine

Answered: 1 week ago