Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using c++: ENUM and Structures Using Enumerated and structure data types, create a world that consists of 3 planets. There will be a structure named

Using c++: image text in transcribed
image text in transcribed
ENUM and Structures Using Enumerated and structure data types, create a world that consists of 3 planets. There will be a structure named planet. This structure will contain distance from Earth, Atmosphere, language, and people. the variable Atmosphere is to be of structure data type Enviro. In this data type will exist the following members: percento2, percentnitro, humidity, temp. The variable language is to be of Language data type. In the language structure will exist the following members: primary, secondary, num_of_charact. The first 2 will be string variables. The people variable in the structure will be of People or Inhabitant data type. In this Inhabitant structure will exist population, avgheight, and an enumerated variable to describe the general temperament,which will be of datatype mood described below

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago

Question

2. What, according to Sergey, was strange at this meeting?

Answered: 1 week ago

Question

3. Are our bosses always right? If not, what should we do?

Answered: 1 week ago