Sale!

Assignment #4 Program that draws a target

$30.00

Category:
Rate this product

Assignment #4
Introduction
You will complete two programs to give you experience with:
• Operators
• Data Types
• Augmented Operators
• Type Conversion
• Rounding
Task 1
Programming Exercise 2.19
Do not do any calculations in the print statement. Use variables and assignment operators, then print
the values of the variables
Rubric
10 pts: User is prompted for input and can enter values properly
10 pts: Output is displayed properly
10 pts: All tested input results in proper output
10 pts: Variables and assignment operators used properly
10 pts: Proper comments at the top of the file with your name, assignment number, and
description of the program.
Task 2
Write a program that draws a target, such as one that would be used in archery.
Ask the user for input for the location of the center of the target, as well as the
radius of the bullseye (center yellow) circle. Make each larger circle have a radius
that is 25 larger than the next smallest circle.
Use an augmented operator in your program
Rubric
Rubric
10 pts: User is prompted for input and can enter values properly
10 pts: Output is displayed properly
10 pts: All tested input results in proper output
10 pts: Augmented operator used properly (should use many times!)
10 pts: Proper comments at the top of the file with your name, assignment number, and
description of the program.
Helpers
Remember that you can find solutions to the even programming exercises online. Check Canvas for a
link. These are suggestions for you to do. They are not part of the assignment, and you do not have to
turn them in.
Exercises: 2.20, 2.24, 2.26
What/How To Turn In (READ THIS)
Submit your files on Canvas.

Open chat
Need help?
Hello
Can we help you?