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

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!