# Problem Statements

Description
 Level 3- Problem Statements 1. Develop a program that accepts the area of a square and will calculate its perimeter. 2. Utopias tax accountants always use programs that compute income taxes even though the tax rate is a solid, never-changing 15%. Write a program that calculates net pay of an employee based on number of hours the employee has worked. Assume an hourly rate of \$12. 3. An old-style movie theater has a simple profit program. Each customer pays \$5 per ticket. Every performance cos
Categories
Published

View again

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
   Level 3- Problem Statements 1.   Develop a program that accepts the area of a square and will calculate its perimeter.  2.   Utopias tax accountants always use programs that compute income taxes even though the tax rate is a solid, never-changing 15%. Write a program that calculates net pay of an employee based on number of hours the employee has worked. Assume an hourly rate of \$12.  3.   An old-style movie theater has a simple profit program. Each customer pays \$5 per ticket. Every performance costs the theater \$20, plus \$.50 per attendee. Develop the program that accepts the number of attendees (of a show) and calculates how much income the show earns.  4.   Develop the program which computes the height that a rocket reaches in a given amount of time. If the rocket accelerates at a constant rate g , it reaches a speed of g  · t   in t time units and a height of 1/2 * v  * t   where v   is the speed at t  .  5.   Develop a program that accepts the length and width of a rectangular floor and the edge length of a square tile and will compute the whole number of tiles needed to cover the floor completely.  6.   Worker A can do a job in 15 days while worker B can do the same job in 20 days. Write a program to calculate the total number of days required to finish the work if both the workers work simultaneously.  7.   Michael owns a gallery in Paris. He sells paintings from multiple artists including Brian and Chad. Michael earns a commission of 20% on each of Brian's paintings and a commission of 15% on Chad's paintings. After giving commission, Brian earned \$240,000 and Chad earned \$300,000 from Michael's sales last year. Write a program to calculate the Michael's earnings from selling Brian's and Chad's paintings.  8.   A cube has a volume of 27 cubic meters. If all sides of the cube are doubled in length, then develop a program to calculte the difference in the srcinal and new volumes of the cube.  9.   Ben drove from point A to point B, a total of 150 miles. He left point A at 08:24am and arrived at point B at 10:54am on the same day. Write a program to calculate the average speed of the car.  10.   There is a metallic sphere of radius x units which is transformed into a cube of y units. Write a program to calculate the length y of the cube if the radius of the sphere, x, is given as an input.    11.   A man can cover a distance in 1hr 24min by covering 2/3 of the distance at 4 km/h and the rest at 5km/h. Develop a program to calculate the total distance travelled by the man.  1.   Find minimum and maximum of 2 input int values. 2.   Input an year and check whether its a leap year. If the input year is leap year, show a message The given year is a leap year . If the input year is not a leap year, show a message This is not a leap year . 3.   Develop a program, that accepts a deposit amount and calculates amount of interest the deposit amount earns in an year. The bank pays a flat 4.0% per year for deposits of up to Rs.1000, a flat 4.5% per year per year for deposits of up to Rs.5000, and a flat 5.0% per year for deposits of more than Rs.5000. 4.   Develop the program, which accepts the gross pay and produces the amount of tax owed. For a gross pay of 100000 or less, the tax is 0%; for over 100000 and 300000 or less, the tax rate is 15%; and for any pay over 300000, the tax rate is 28%. Calculate tax pay and return the result to main method. Print the result in main method. 5.   Write a program to check whether the input alphabet is a vowel or not. Use switch case. 6.   Find the Student Rank based on marks. a. From 80  –   100 , Ranks A  b. From 65  –   80, Rank B c. From 45  –   65, Rank C d. Below 45, Rank D 7.   Write a program to check whether the input number is a prime number or not. 8.   Input an year and check whether its a leap year. 9.   Write a program to sort exactly three numbers using only if-then-else statements  10.   Write a program to reverse the digits of an integer number and write the number and its reverse to the screen. 11.   Find the minimum of 3 nos. using conditional operator 12.   Find the maximum of 3 nos. using conditional operator    Level 3- Problem Statements 1.   Find all the even numbers within the limit of an input integer value. 2.   Generate a Fibonacci sequence {1,1,2,3,5,8....}. The count of numbers needed in the sequence is inputted from main. 3.   Find the nth term in Tribonacci series (0, 1, 1, 2, 4, 7, 13…).  4.   Find the number of prime numbers below a given number 5.   Develop a program, that accepts a deposit amount and period of deposit. Calculate the maturity amount after the period of deposit. The bank pays 4% interest per year for any deposits made in the bank.

Jul 23, 2017

#### NicholasOgdenResume 5 Aug 2014

Jul 23, 2017
Search
Similar documents

View more...
Tags