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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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