Предлагая 40% скидку всем клиентам, чье имя Джонатан.
#include<stdio.h>
#include<conio.h>
void main()
{
char name;
clrscr();
printf("Enter the last name: ");
scanf("%s",&name);
if (name=='jonathan')
printf("Customer is entitled to 40% discount");
else
printf("Customer is not entitled to 40% discount");
getch();
}