#include <stdio.h>
int main()
{
unsigned int setpin, enterpin , a , b;
printf("Set your pin :\n");
scanf("%u", &setpin);
printf("Enter your pin :\n");
scanf("%u", &enterpin);
if (setpin == enterpin)
{
printf("Excess Granted\n");
printf ("enter the numbers you want sum off\n");
scanf("%u %u" , &a , &b);
printf("sum is %d" , a+b);
}
else
{
printf("Worng Pin...Retry");
}
return 0;
}
No comments:
Post a Comment