Question
In this output i also need output of when coupon is not used. #include #include using namespace std; // protoTypes double Medium(); double Large(); int
In this output i also need output of when coupon is not used.
#include double Medium() { char coupon = ' '; double price = 9.99; cout>coupon; if(toupper(coupon)=='Y') price -= 1; return price; } double Large() { char coupon = ' '; double price = 12.99; cout>coupon; if(toupper(coupon)=='Y') price -= 2; return price; } Output:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started