Question: For the following four problems write a complete algorithm. Also make sure include the three step analysis part to receive full credit . 1 )
For the following four problems write a complete algorithm. Also make sure include the three step analysis part to receive full credit All years that are evenly divisible by are always a leap year. They are also a leap year if they are evenly divisible by AND are not evenly divisible by For example, was a leap year because it is evenly divisible by Likewise was a leap year because it was evenly divisible by AND not evenly divisible by Write an algorithm to solve this problem for entering any year, providing a positive integer. Output should display either it is a leap yearor not A store is having a sale on shirts. The shirts cost SIS individually, but if four to ten shirts are bought they are only $ a shirt, and if more than ten are purchased then they cost only $ a shirt. Have the problem calculate the price for all the shirts, the sales tax at and the total price based on the number of shirts purchased. Also make sure to display all the data, ie shirts sold, price of shirts, sales tax and total price Solve a problem that has the user continually entering integers, one at a time, and assume these integers are in the range of O to but don't test for this, and calculates their sum until the sum is over When done the sum and last numbered entered should be displayed. You will need to use a loop of some kind for this one A problem that has a user enter positive numbers and keeps record of how many even numbers are entered. When user enters O problem stops and then displays the number of even numbers entered. For example, if user enters and then problem would display something like "User entered even numbers". You need to use a loop structure for this One. THE PHOTO ON THE RIGHT IS EXAMPLE OF how the algorithm is suppose to be written.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
