Question: Need this code in C++, please answer ASAP. Visual Studio Example a) Write a program to determine the cost of coffee based on the size

Need this code in C++, please answer ASAP.
Visual Studio Example a) Write a program to determine the cost of coffee based on the size entered by a user. Your program should support 3 different sizes. A Large coffee costs 5.99, a Medium coffee costs 4.99, and a small coffee costs 3.99. b) Write a program to calculate the result of the following step function: S 2-**3, X50 In(x) + 10, x > 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
