Question: I need this program in C++ please. Thank you! This is the entire question, as in this is all the information we get. Even if

I need this program in C++ please. Thank you! This is the entire question, as in this is all the information we get. Even if the code is not 100% correct, some sort of code would be appreciated. Thank you!

I need this program in C++ please. Thank you! This is theentire question, as in this is all the information we get. Evenif the code is not 100% correct, some sort of code wouldbe appreciated. Thank you! Aliens have invaded Earth and are threatening to

Aliens have invaded Earth and are threatening to destroy the planet if they don't see any signs of life... but they are looking for a different kind of life than we are normally used to. They are looking for the signs of life that John Conway is used to! They are sending out signals and searching for a lifelike response: it is up to you to make sure they get one! You are tasked with writing a 1D cellular automaton simulator that can respond to the alien's signals. Let's figure out how they work! Cellular automatons are defined in terms of a rule. This rule can be applied to some input state at generation k and will output a state at generation k+1. Each state of an automata is some series of 0s and 1s (or empty squares and filled squares if you like). A rule is some 8 bit number (0 rule 3 #include 4 #include 5 #include 6 using namespace std; 9int main) 10 /* Enter your code here. Read input from STDIN. Print output to STDOUT / return ; 12 13 Line: 1 Col: 1 od Test against custom input Run Code Submit Code Aliens have invaded Earth and are threatening to destroy the planet if they don't see any signs of life... but they are looking for a different kind of life than we are normally used to. They are looking for the signs of life that John Conway is used to! They are sending out signals and searching for a lifelike response: it is up to you to make sure they get one! You are tasked with writing a 1D cellular automaton simulator that can respond to the alien's signals. Let's figure out how they work! Cellular automatons are defined in terms of a rule. This rule can be applied to some input state at generation k and will output a state at generation k+1. Each state of an automata is some series of 0s and 1s (or empty squares and filled squares if you like). A rule is some 8 bit number (0 rule 3 #include 4 #include 5 #include 6 using namespace std; 9int main) 10 /* Enter your code here. Read input from STDIN. Print output to STDOUT / return ; 12 13 Line: 1 Col: 1 od Test against custom input Run Code Submit Code

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!