Scientific american by martin gardner

Assignment Help Business Management
Reference no: EM132265471

Write program to implement the simulation of life as described in Scientific American by Martin Gardner. The program will be implemented on a two dimensional surface of size 60 by 60 visible elements. The rules of the simulation are as follows:

1) An initial set of cells are marked as "alive" by the user. This is generation 0. Your program will ask the user to input a set of row and column values to let the user determine which cells are "alive". Display this generation.

2) Cells change for each succeeding generation by the following rules:

a. A living cell dies of overcrowding in the next generation if it currently has 4 or more living neighbors.

b. A living cell dies of loneliness in the next generation if it currently has only 0 or 1 living neighbors.

c. An empty cell becomes a "birth" cell (becomes alive) in the next generation if it has exactly 3 living neighbors.

d. All other cells remain unchanged.

3) The new generation becomes the current generation and is displayed.

4) After displaying each new generation, ask the user if they wish to continue to the next generation or stop at this point. 

Please write the code for C programming not C++ or java

Reference no: EM132265471

Questions Cloud

Why did you select phd in information technology : As an individual, what are your strengths and weaknesses and how will they impact you as a PhD IT student?
Analyze opportunities for strategic change that are evident : Analyze opportunities for strategic change that are evident, citing evidence. Formulate conclusions including personal learning on your analysis.
Create a plan for how you will share the literature : Create a plan for how you will share the literature that you are using with your students' families so they can help to support literacy acquisition.
Explain different types of violence in the news media : Collect newspaper reports of societal violence and determine the extent of the focus on different types of violence in the news media. Summarize your findings.
Scientific american by martin gardner : Write program to implement the simulation of life as described in Scientific American by Martin Gardner. The program will be implemented on a two dimensional
Why nutrition is a central component in health promotion : Discuss why nutrition is a central component in health promotion. What are some of the nutritional challenges for emerging population?
Determine which number is the smallest : Determine which number is the smallest. Print that number along with some descriptive text to inform the user of what is being printed to the screen.
Describe market skimming and penetration pricing strategies : Describe market skimming and penetration pricing strategies? Discuss objectives that each strategy hopes to achieve. What is dumping and price fixing.
Program that reads a local election result : Please write C++ program that reads a local election result file (called "votes.txt"):

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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