Question
Using C# in Visual Studios without ReadLine and user input Problem #1: Zombie Madness Part 1: Zombies have invaded! Each person that they bite turns
Using C# in Visual Studios without ReadLine and user input
Problem #1: Zombie Madness Part 1: Zombies have invaded! Each person that they bite turns into another zombie. The CDC wants to know how many new zombies there will be on each day. How many zombies are there on day 1? How many people can they bite each day? How many days will the invasion last? How many total zombies will there be on the last day? Use a for loop to solve this part of the problem. Part 2: Once you know how many zombies we are dealing with in X number of days, the CDC has requested to know how many days it would take to get to 1 million zombies. (Let's hope it doesn't come to that!) Use a While loop to predict the number of zombies each day until their numbers reach 1 million. Givens Part 1 - For Loop: The initial number of zombies? The number of people each can bite per day? How many days will the invasion last? The number of new zombies created each day. (hint: The new zombies should be added each day to the total number of zombies.) Givens Part 2 - While Loop: The number of day
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started