Solve this correctly.
Attachments:
Answers
Answered by
1
Answer:
I think its the answer.
Explanation:
double fine=0.0; int n;printf("Enter the no of days late");scanf("%d",&n);if(n<=5)fine=0.40*n;else if(n<=10)fine=0.65*n;elsefine=0.80*n;printf("Fine = %lf",fine);Explanation:above code snippet is written in c the main logic starts from the if block you can use this in your own language.hope it helps you!
Similar questions