Question: C# Programming: Make a class called particle. Particle can either be wave, leftPolerized, or rightPolerized. Make a little program that uses particle that asks the
C# Programming:
Make a class called particle. Particle can either be wave, leftPolerized, or rightPolerized. Make a little program that uses particle that asks the user for input. If the user types hit, and the particle is in wave, it randomly selects either leftPolerized or rightPolerized and tells the user what was selected. Then it loops and the user can type something else again. If the particle is not in wave, it will flip from leftPolerized to rightPolerized or if it is in rightPoluerized, it switches to leftPolerized and then tells the user what state it is in. If the user types in reset, it goes back to wave and if they type in q it quits the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
