Answered step by step
Verified Expert Solution
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
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. aStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started