Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment Content You are working as part of a team on a large software development project. Your assigned task for the day is to create
Assignment Content
You are working as part of a team on a large software development project. Your assigned task for the day is to create a dynamically sized onscreen ruler that is sized based on user input.
The ruler is to print every th position as plus and every tenth position as a number all other positions will be a hyphen.
Hint: Use a while loop to allow the program to continue interacting with your user, use a for loop and branching statements to generate the ruler use a counter variable to count the number of calculations and a total to sum the size to list the average size upon exit.
Example:
Welcome to the ruler generating program!
Please enter the size ruler you require to quit:
Please enter the size ruler you require to quit:
Please enter the size ruler you require to quit:
You generated rulers, average size ruler requested was have a great day!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started