plz helpp here.. C
#include <stdio.h> int main() { int time; printf("enter time"); scanf("%d",&time); if (time<=5){ time=50/time; printf("%d",time);} for(time=6;time<=10;time++){ time=100/time; printf("%d",time);} if (time>10){ time=200/time; printf("%d",time);} if (time>30){ printf("your membership is cancelled"); } } A library charges a fine for every book returned late for first five days is 50 rupees/day. From 6th to 10th day fine is 100 rupees/day and above 10 days is 200 rupees/day and if you returned the book after 30 days then your membership will be cancelled. Write a program that accept the numbers of days a student is late in returning the books and prints the appropriate message.