#include<stdio.h>
#include<conio.h>void main()
{
float amt;
printf("Please enter total bill amount: ");
scanf("%f",&amt);
if(amt>100)
{
printf("\nDiscount is applicable.");
}
else
{
printf("\nDiscount is not applicable.");
}
getch();
}
OUTPUT:
Please have a look at the below video lesson posted on my YouTube channel:
No comments:
Post a Comment