Question: Once the program starts, it will ask the user to enter a seed number ( any number between 0 and 1 0 0 ) .

Once the program starts, it will ask the user to enter a seed number (any number between 0 and
100).
2. Once the input is received, the program is going to generate 2 random numbers from 1 to 5 for
the ammo and the health. (1 means very low, and 5 means very high)
3. Then the program will print to the user the generated ammo and health levels (Very low, Low,
Medium, High, Very High)
4. The program will display the output action as well for the character, based on the fuzzy logic
rules shown in the table below.

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!