Ⓒ State □ std::string name □ WeekData* weeks ☐ int numberOfDataPoints ● State() • State(std::string name) ● State(const State& rhs) • State& operator=(const State& rhs) • ~State() • std::string getName() const • void addWeek(std::string weekData) • double getMeanDeaths() const • double getSt Dev() const • int getOutlierCount() const std::vector getOutlierinfos() const

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter13: Overloading And Templates
Section: Chapter Questions
Problem 38SA
icon
Related questions
Question

Please help create the cpp file.

The State class

  • You can allocate 500 as the size for the weeks array.

(Please type answer no write by hend)

 
State
□ std::string name
□ WeekData* weeks
☐ int numberOfDataPoints
● State()
• State(std::string name)
● State(const State& rhs)
• State& operator=(const State& rhs)
• ~State()
• std::string getName() const
• void addWeek(std::string weekData)
• double getMeanDeaths() const
• double getSt Dev() const
• int getOutlierCount() const
std::vector<std::string> getOutlierinfos() const
Transcribed Image Text:State □ std::string name □ WeekData* weeks ☐ int numberOfDataPoints ● State() • State(std::string name) ● State(const State& rhs) • State& operator=(const State& rhs) • ~State() • std::string getName() const • void addWeek(std::string weekData) • double getMeanDeaths() const • double getSt Dev() const • int getOutlierCount() const std::vector<std::string> getOutlierinfos() const
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 4 images

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning