#include"stdio.h"
#includeint main(void)
{
int n,pcn=12345;
printf("Enter your pre-paid card number : ");
scanf("%d",&n);
if(n==pcn)
{
printf("your balance is : 300 BDT\n\n");
}
else if(n!=pcn)
{
printf("Enter your pre-paid card number Again : ");
scanf("%d",&n);
if(n==pcn)
{
printf("your balance is : 300 BDT\n\n");
}
if(n!=pcn)
{
printf("Enter your pre-paid card number Again : ");
scanf("%d",&n);
if(n==pcn)
{
printf("your balance is : 300 BDT\n\n");
}
else
{
printf("\nyour card number is invalid!!!!\n\nYou can insert card number After 6 Hours\n\n");
}
}
}
return 0;
}
No comments:
Post a Comment