HR Interview Interview undefined

int main() {
int days;
printf("enter days you are late"); scanf("%d",days);
if (days<=5)
printf("5o paisa fine");
if (days<=10&&days>=6)
printf("1rs fine");
if(days>10)
printf("10 rs fine");
if(days=30)
printf("membership cancelled");
return 0;
}
tell me what's wrong in this program? is it right?

Read Solution (Total 2)

HR Interview Other Question

ABC+ABC+ABC=CCC a rectangular box of length 4cm, breadth 3cm, height 5cm. the opposite sides of 4cm*3cm are painted red, opposite sides of 3cm*5cm are painted blue and rest 5cm*4cm with yellow. finally it is cut into 1*1*1 cuboid