an bisect

#1
#include<stdio.h>
#include<stdlib.h>
int main (void)
{
int a,b,c;
float m,n;
char k,w;
printf("introduceti 3 numere intregi:\n");
if(scanf("%d %d %d", &a, &b, &c)!=3)
{
printf("DE");
exit(1);
}
printf("introduceti 2 numere reale\n");
if(scanf("%f %f",&m, &n)!=2)
{
printf("DE");
exit(1);
}
printf("introduceti 2 caractere\n");
fflush(stdin);
scanf("%c %c", &k, &w);
printf("valorile introduse sunt: a=%d \t b=%d \t c=%d \t m=%g \t n=%g \t k=%c\t w=%c",a,b,c,m,n,k,w);
if(a>=1600 && a<=4900 &&(a%4==0 && a%100!=0)||(a%400==0))
printf("\na este an bisect");
else
printf("\na nu este an bisect");
return 0;
}
cron