Question Assignment description
1. Write a program to read three values, calculate their sum and their common and print the outcomes as: “The sum is “, sum “The typical is “, average2. Write a program to read a worth, print its three/four, half, and 1/four. Declare 4 variables with applicable names to retailer the unique worth, three quarters of the values, half of the worth and quarter of the worth. three. Write a program that may read a radius of a sphere, ship the radius to operate by the title sphereVolume to return the quantity of the sphere (discover the formulation of the quantity of sphere within the WWW). Print the quantity within the unique program (principal program the place you will have: Begin and Cease).four. Write a program that may read 5 gross sales. After discovering their subtotals, calculate the sale low cost based mostly on these standards s:if the subtotal is >= 10000, the low cost is 15%else if the subtotal is >= 7500 and < 10000, the discount is 10%else if the subtotal is >= 5000 and < 75000, the discount is 7%else if the subtotal is >= 2500 and < 5000, then low cost is 5percentelse the low cost is 3percentPrint the dicousntedAmount, the TaxAmount based mostly on 7.5% taxRate, and the overall. 5. Write a program utilizing for-loop to add values between 50 and 100 (Trace: you may initialize a variable to any worth as an alternative of 1 or zero)