Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Show all work and steps please 4. Create a flowchart and a program; test the program Program Requirements. There are 10 members of the team.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Show all work and steps please

4. Create a flowchart and a program; test the program Program Requirements. There are 10 members of the team. The program asks each member to enter their tennis rank. It only accepts an integer between 1 and 5 inclusive.. If the number entered is not valid, the program keeps prompting until a valid number is entered. The program calculates and prints the average rank. Submit a photo of your flowchart and a screen shot of your program. Test the Program: Check the logic of your code by seeing what happens when you enter an invalid rank and when you enter a valid rank. Submit a screen shot of the test results. 3.. For this problem, you will be asked to create two flowcharts and write two short programs. The first program is an "elif program. The second is a "nested if" program. Program 3.a: Program Requirements: Prompt the user to enter a number. If the number is greater than 0, output a message stating that the number is positive. If the number equals zero, output a message saying so. Otherwise, output a message stating that the number is negative. Submit your flowchart, a screen shot of the program, and a screen shot of the output when you run the program with the following inputs: -3, 0, +3 Program 3.b: Program Requirements: Prompt the user to enter a number. If the number is greater than or equal to zero, check to see if it equals zero. If it does output a message saying so. Otherwise, output a message saying that it is a positive number. If the number entered was not greater than or equal to zero, output a message saying that it is a negative number Submit your flowchart, a screen shot of the program and a screen shot of the output when you run the program with the following inputs: -3, 0, +3. For problems 1 and 2: For these problems, by "Boolean Expression" we mean an inequality that Python can evaluate as true or false. E.g. 2 2 and x 0 ory -0 and y-2) b. not (xs 12 ory> 5)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

List the advantages and disadvantages of the pay programs. page 505

Answered: 1 week ago