0
Duct Tape
All Tests Passed except the 5th
3 Answers
+ 9
Aakash Gupta ,
Use ceil function instead round
Try this,
https://code.sololearn.com/cHYkaSwp6F61/?ref=app
+ 2
Thanks Riya
0
#include <stdio.h>
int main() {
float areaDuct = 60 * 2/12;
float l,b;
scanf("%f%f", &l,&b);
float areaDoor = 2*l*b;
float Tape = areaDoor/areaDuct;
float roundnum = round(Tape);
printf("%.f",roundnum);
return 0;
}