Write program to help students learn periods of geology time

Assignment Help Programming Languages
Reference no: EM13810183

You are taking a geology class, and the professor wants you to write a program to help students learn the periods of geologic time. The program should let the user enter a range of prehistoric dates (in millions of years), and then output the periods that are included in that range. Each time this output is done, the user is asked if he or she wants to continue. The goal of the exercise is for the student to try to figure out when each period began, so that he or she can make a chart of geologic time.

Within the program, represent the periods with an enumeration type made up of their names. You will probably want to create a function that determines the period corresponding to a date, and another function that returns the string corresponding to each identifier in the enumeration. Then you can use a For loop to output the series of periods in the range. The periods of geologic time are given here:

Period Name

Starting Date (millions of years)

Neogene

23

Paleogene

65

Cretaceous

136

Jurassic

192

Triassic

225

Permian

280

Carboniferous

345

Devonian

395

Silurian

435

Ordovician

500

Cambrian

570

Precambrian

4500 or earlier

Attachment:- geology.rar

Reference no: EM13810183

Questions Cloud

Describe stages of motor development for young children : Describe stages of motor development for young children. Discuss the importance of physical activity for the developing child and provide examples.
Differences and similarities between cpm and pert : Compare and contrast the differences and similarities between CPM and PERT. Support your position with one (1) real-world example of such similarities and differences.
Identify at least three examples of physical activities : Identify at least three examples of physical activities and at least three examples of healthy eating practices that families can implement at home.
Roles of managers and individuals paper : Prepare a 700-1,050-word paper assessing the various roles of managers and individuals in the change process. Include an examination of the two types of change agents as well as and a manager's role in combating resistance and championing change.
Write program to help students learn periods of geology time : You are taking a geology class, and the professor wants you to write a program to help students learn the periods of geologic time. The program should let the user enter a range of prehistoric dates (in millions of years), and then output the peri..
Prepare a slideshow presentation on an applied ethical topic : Prepare a PowerPoint slideshow presentation on an applied ethical topic. Review the topics from www.procon.org and choose one of the controversial issues to report.
Explain the nature of the dilemma : The nature of the dilemma. The alternative courses of action that you contemplated. The decision you made
Project planning activities for the project : You are completing your project planning activities for the project you have been assigned to manage. The remaining component is the communication plan that you need to present to your project sponsor at the end of the week.
Discuss stage three of virtual team development : Discuss stage 3 of virtual team development from chapter 1 in A Manager's Guide to Virtual Teams. How is it different and/or similar for traditional teams?

Reviews

Write a Review

Programming Languages Questions & Answers

  Design gui application with jframe to enter series of names

Design  GUI application with JFrame which permits user to enter series of friends' names and phone numbers. Each time user clicks the button, data entered must be written to sequential access file.

  Step by step procedure to solve to create record note book

Create Record note book; The Record note book should be in the follwoing order. Procedure: Write down step by step procedure to solve problem.

  Computing return value after execution of program

Compute return value of Antony after its execution?

  Advantages and disadvantages for windows login

The Windows login can be a user or a group with users defined to the group. What do you think the advantages and disadvantages are for each type?

  Write statement to determine whether array elements are full

Write the statements needed to determine whether any of the the array elements are null or refer to the empty String. Set the variable hasEmpty to true if any elements are null or empty-- otherwise set it to false.

  Program to calculate the electricity bill

Write a program to calculate the electricity bill. The rates of electricity per unit are as follows: If the units consumed are equal or less than 100, then the cost is Rs 8/- per unit.

  Architecting web-applications using web-services

Architecting web-applications using web-services has advantages. Forexample, you can gain increased security. Describe other advantages otherthan security gained by using web-services.

  Program for sentinel address of all zeros and nickname

Explain class called address_t with members for four integers and must read list up to 100 addresses and nicknames terminated by sentinel address of all zeros and nickname.

  Write program prompts to enter three sides of triangle

Write a program which prompts the user to enter three sides of a triangle and your program will display the three sides and its category of either equilateral, isosceles or all unequal.

  Create test-methods for each operations

Write the methods to pass the tests. A significant portion of your score will be based on the effectiveness and thoroughness of your test-methods.

  Discuss what is meant by low-level programming

Discuss what is meant by "low-level" programming. What are the advantages of assembly language over higher-level languages for this type of programming?

  Create application to enter number of units sold

Quantity discounts are given according: create an application that allows the user to enter the number of units sold for each software package.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd