1. Given a=5,b=1,x=10,and y=5,create a program that outputs the result of the formula
f=(a-b)(x-y using a single printf()
function
2. Create a program that uses the same formula above to output the result;this
time,however,prompt the user for the values a,b,x andy,Use appropriate variable names and naming
conventions
3.
4. Creat a program that prompt a user for numbers and determines total revenue using the
following formula:Total Revenue=Price*Quaritity