Question: 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++  Using c++ ENUM and Structures Using Enumerated and structure data types,
create a world that consists of 3 planets. There will be a

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!