subject

Create a structure named planet this structure will contain distance from earth as an integer atmosphere, language, people and planet name. the variable atmosphere is to be of structure data type enviro. in this data type will exist the following members as integers: percent 2, percent nitro, humidity, temp. the variables language and planet_name are to be of string data type. the variable people is also to be of string datatype and will be assigned any string value of your choosing that is appropriate. create an array of data type planet that will contain two elements, representing different planets. make assignments to all of the variables of both planets by direct assignment using the assignment operator

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
File account.java (see previous exercise) contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and account number, and return a string representation. note that the constructor for this class creates a random account number. save this class to your directory and study it to see how it works. then write the following additional code: 1. suppose the bank wants to keep track of how many accounts exist. a. declare a private static integer variable numaccounts to hold this value. like all instance and static variables, it will be initialized (to 0, since it’s an int) automatically. b. add code to the constructor to increment this variable every time an account is created. c. add a static method getnumaccounts that returns the total number of accounts. think about why this method should be static - its information is not related to any particular account. d. file testaccounts1.java contains a simple program that creates the specified number of bank accounts then uses the getnumaccounts method to find how many accounts were created. save it to your directory, then use it to test your modified account class.
Answers: 3
question
Computers and Technology, 24.06.2019 15:50
Subscribe to j p g a m e t u b e on you tube ?
Answers: 2
question
Computers and Technology, 24.06.2019 17:30
Which computer network component connects two different networks together and allows them to communicate? a is a node (or a device) that connects two different networks together and allows them to communicate.
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
File i/o activity objective: the objective of this activity is to practice working with text files in c#. for this activity, you may do all code in the main class. instructions: create an app that will read integers from an input file name numbers.txt that will consist of one integer per record. example: 4 8 25 101 determine which numbers are even and which are odd. write the even numbers to a file named even.txt and the odd numbers to a file named odd.txt.
Answers: 3
You know the right answer?
Create a structure named planet this structure will contain distance from earth as an integer atmosp...
Questions
question
Mathematics, 29.04.2021 16:20
question
Mathematics, 29.04.2021 16:20
question
Mathematics, 29.04.2021 16:20
question
Mathematics, 29.04.2021 16:20
question
Mathematics, 29.04.2021 16:20
Questions on the website: 13722359