SlideShare a Scribd company logo
1 of 3
HELPIDO.COM
CLICK HERE TO GET THE SOLUTION !!!!!!!!!



COMP/220 iLab 4 of 7 - C++ Course

iLAB OVERVIEW

Scenario and Summary



This lab requires you to use C++ class composition to implement a single pole-filter design program.
The program will allow the user to specify resistor and capacitor values and filter type. Once all the
user parameters are specified, the program will return the cutoff frequency values for the filter.

Composition may be thought of as a has-a relationship for objects, as compared to inheritance,
which may be described as an is-a relationship for objects.

You are required to use two component classes: one for a resistor object and one for a capacitor
object. You are then to define and implement a filter class that will contain one object of each the
resistor and the capacitor classes in order to create the filter and its characteristics.

The Resistor class created in the Week 2 iLab may be used both as the class definition for the
resistor object and as a template or a guide for the capacitor-class definition.

The lab also requires you to implement your program in a multiple-file project and create both cpp
and h files for each class defined. In addition, the program will have the capacity to save all filter
parameters to a text file and read previously designed filter parameters from a text file.

Deliverables

1.         Submit a single Notepad file containing the source code for all the files of the lab to the
Dropbox for Week 4. Your source code should use proper indentation and be error free. Be sure that
your last name and the lab number are part of the file name: for example, YourLastName_Lab4.txt.



Each program should include a comment section that includes, at a minimum, your name, the lab
and exercise number, and a description of what the program accomplishes.

2.       Submit a lab report (a Word document) containing the following information to the
Dropbox for Week 4.

o         Include your name and the lab or lab-exercise number.

o          Specification: Include a brief description of what the program accomplishes, including its
input, key processes, and output.
o          Test Plan: Include a brief description of the method you used to confirm that your
program worked properly. If necessary, include a clearly labeled table with test cases, predicted
results, and actual results.

o         Summary and Conclusions: Write a statement summarizing your predicted and actual
output, and identify and explain any differences. For conclusions, write at least one nontrivial
paragraph that explains, in detail, either a significant problem you had and how you solved it or, if
you had no significant problems, something you learned by doing the exercise.

o         A UML diagram: This should show all classes, class members, access specifiers, data
types, and function arguments, along with the composition relationship of the classes.

o          Answers to Lab Questions: The answers to any and all lab questions are included in the
lab steps.

Each lab exercise should have a separate section in the lab-report document.

Your lab grade will be based upon

1.         the formatting of your source code;

2.         the use of meaningful identifiers;

3.         the extent of internal documentation;

4.         the degree to which an exercises’ specifications are met; and

5.         the completeness of your lab report.



iLAB STEPS

STEP 1: Create a Multifile Project for the Composition Lab



1. Add three classes to the project: a Filter class, a Capacitor class, and a Resistor class.

2. You may use the Resistor class files from the Week 2 lab for this lab.

3. The Capacitor class should be modeled after the Resistor class for class members and operation.

STEP 2: Filter-Class Definition

The Filter class should have, at a minimum, the following capabilities.

1.         a resistor-object data member

2.         a capacitor-object data member

3.         a cutoff frequency (in Hertz) of the RC filter

4.        maximum and minimum cutoff frequencies, based on the maximum and minimum in-
tolerance values of the capacitor and the resistor object

5.         a filter type, either low pass or high pass
6.         allow the user to enter new values for the filter, including

6.1. resistor tolerance and nominal resistance;

6.2. capacitor tolerance and nominal capacitance; and

6.3. filter type

7.          provides the ability to write all capacitor, resistor, and filter data members to a formatted
text file and allows the user to name the file

8.        provides the ability to read all capacitor, resistor, and filter data members from a
formatted text file and allows the user to enter the file name and correctly handles a file-not-found
error

STEP 3: Test-Program Operation

1.        All data-input and data-display operations (cin and cout) should be done in the function
main() test program.

2.         The test program should instantiate at least one object of the class Filter.

a.        The user should enter values for all the data members of the Filter, Resistor, and
Capacitor classes.

b.         The Filter class should then calculate and display the correct maximum and minimum
cutoff frequencies.

3.         The test program should then display all Filter, Resistor, and Capacitor data members.


CLICK HERE TO GET THE SOLUTION !!!!!!!!!

More Related Content

Viewers also liked

Struktur Pemrograman Java
Struktur Pemrograman JavaStruktur Pemrograman Java
Struktur Pemrograman Javaroji muhidin
 
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...raviranchi02
 
Travel shop | Магазин Отдыха
Travel shop | Магазин ОтдыхаTravel shop | Магазин Отдыха
Travel shop | Магазин ОтдыхаYakov Volkonski
 
026. Superhik
026. Superhik026. Superhik
026. SuperhikTompa *
 
Tarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajoTarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajoMariajoExtre
 
Can we really explain worker flows in transition?
Can we really explain worker flows in transition?Can we really explain worker flows in transition?
Can we really explain worker flows in transition?GRAPE
 
Steps to Shrink Datafiles
Steps to Shrink DatafilesSteps to Shrink Datafiles
Steps to Shrink DatafilesRam Kumar
 
Raceway Ecosystems
Raceway EcosystemsRaceway Ecosystems
Raceway Ecosystemsaci394
 
Process management using Supervisord
Process management using SupervisordProcess management using Supervisord
Process management using SupervisordAgeeleshwar K
 
Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)Javi Santa Cruz
 
Research equipment
Research equipmentResearch equipment
Research equipmentrageee
 

Viewers also liked (15)

Struktur Pemrograman Java
Struktur Pemrograman JavaStruktur Pemrograman Java
Struktur Pemrograman Java
 
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
 
Diákolimpia - foci
Diákolimpia - fociDiákolimpia - foci
Diákolimpia - foci
 
Travel shop | Магазин Отдыха
Travel shop | Магазин ОтдыхаTravel shop | Магазин Отдыха
Travel shop | Магазин Отдыха
 
026. Superhik
026. Superhik026. Superhik
026. Superhik
 
Tarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajoTarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajo
 
Can we really explain worker flows in transition?
Can we really explain worker flows in transition?Can we really explain worker flows in transition?
Can we really explain worker flows in transition?
 
Pitch for music video !
Pitch for music video !Pitch for music video !
Pitch for music video !
 
Steps to Shrink Datafiles
Steps to Shrink DatafilesSteps to Shrink Datafiles
Steps to Shrink Datafiles
 
Raceway Ecosystems
Raceway EcosystemsRaceway Ecosystems
Raceway Ecosystems
 
Process management using Supervisord
Process management using SupervisordProcess management using Supervisord
Process management using Supervisord
 
Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)
 
Research equipment
Research equipmentResearch equipment
Research equipment
 
Estado y gestion del agua
Estado y gestion del aguaEstado y gestion del agua
Estado y gestion del agua
 
Test
TestTest
Test
 

More from helpido6

Prg 421 week 4
Prg 421 week 4Prg 421 week 4
Prg 421 week 4helpido6
 
Prg 421 week 2
Prg 421 week 2Prg 421 week 2
Prg 421 week 2helpido6
 
Prg 421 week 1
Prg 421 week 1Prg 421 week 1
Prg 421 week 1helpido6
 
Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7helpido6
 
CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6helpido6
 
Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6helpido6
 
Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6helpido6
 
CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6helpido6
 

More from helpido6 (8)

Prg 421 week 4
Prg 421 week 4Prg 421 week 4
Prg 421 week 4
 
Prg 421 week 2
Prg 421 week 2Prg 421 week 2
Prg 421 week 2
 
Prg 421 week 1
Prg 421 week 1Prg 421 week 1
Prg 421 week 1
 
Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7
 
CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6
 
Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6
 
Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6
 
CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Comp 220 ilab 4 of 7

  • 1. HELPIDO.COM CLICK HERE TO GET THE SOLUTION !!!!!!!!! COMP/220 iLab 4 of 7 - C++ Course iLAB OVERVIEW Scenario and Summary This lab requires you to use C++ class composition to implement a single pole-filter design program. The program will allow the user to specify resistor and capacitor values and filter type. Once all the user parameters are specified, the program will return the cutoff frequency values for the filter. Composition may be thought of as a has-a relationship for objects, as compared to inheritance, which may be described as an is-a relationship for objects. You are required to use two component classes: one for a resistor object and one for a capacitor object. You are then to define and implement a filter class that will contain one object of each the resistor and the capacitor classes in order to create the filter and its characteristics. The Resistor class created in the Week 2 iLab may be used both as the class definition for the resistor object and as a template or a guide for the capacitor-class definition. The lab also requires you to implement your program in a multiple-file project and create both cpp and h files for each class defined. In addition, the program will have the capacity to save all filter parameters to a text file and read previously designed filter parameters from a text file. Deliverables 1. Submit a single Notepad file containing the source code for all the files of the lab to the Dropbox for Week 4. Your source code should use proper indentation and be error free. Be sure that your last name and the lab number are part of the file name: for example, YourLastName_Lab4.txt. Each program should include a comment section that includes, at a minimum, your name, the lab and exercise number, and a description of what the program accomplishes. 2. Submit a lab report (a Word document) containing the following information to the Dropbox for Week 4. o Include your name and the lab or lab-exercise number. o Specification: Include a brief description of what the program accomplishes, including its input, key processes, and output.
  • 2. o Test Plan: Include a brief description of the method you used to confirm that your program worked properly. If necessary, include a clearly labeled table with test cases, predicted results, and actual results. o Summary and Conclusions: Write a statement summarizing your predicted and actual output, and identify and explain any differences. For conclusions, write at least one nontrivial paragraph that explains, in detail, either a significant problem you had and how you solved it or, if you had no significant problems, something you learned by doing the exercise. o A UML diagram: This should show all classes, class members, access specifiers, data types, and function arguments, along with the composition relationship of the classes. o Answers to Lab Questions: The answers to any and all lab questions are included in the lab steps. Each lab exercise should have a separate section in the lab-report document. Your lab grade will be based upon 1. the formatting of your source code; 2. the use of meaningful identifiers; 3. the extent of internal documentation; 4. the degree to which an exercises’ specifications are met; and 5. the completeness of your lab report. iLAB STEPS STEP 1: Create a Multifile Project for the Composition Lab 1. Add three classes to the project: a Filter class, a Capacitor class, and a Resistor class. 2. You may use the Resistor class files from the Week 2 lab for this lab. 3. The Capacitor class should be modeled after the Resistor class for class members and operation. STEP 2: Filter-Class Definition The Filter class should have, at a minimum, the following capabilities. 1. a resistor-object data member 2. a capacitor-object data member 3. a cutoff frequency (in Hertz) of the RC filter 4. maximum and minimum cutoff frequencies, based on the maximum and minimum in- tolerance values of the capacitor and the resistor object 5. a filter type, either low pass or high pass
  • 3. 6. allow the user to enter new values for the filter, including 6.1. resistor tolerance and nominal resistance; 6.2. capacitor tolerance and nominal capacitance; and 6.3. filter type 7. provides the ability to write all capacitor, resistor, and filter data members to a formatted text file and allows the user to name the file 8. provides the ability to read all capacitor, resistor, and filter data members from a formatted text file and allows the user to enter the file name and correctly handles a file-not-found error STEP 3: Test-Program Operation 1. All data-input and data-display operations (cin and cout) should be done in the function main() test program. 2. The test program should instantiate at least one object of the class Filter. a. The user should enter values for all the data members of the Filter, Resistor, and Capacitor classes. b. The Filter class should then calculate and display the correct maximum and minimum cutoff frequencies. 3. The test program should then display all Filter, Resistor, and Capacitor data members. CLICK HERE TO GET THE SOLUTION !!!!!!!!!