Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
14th Dec Project1 v0.2Warning(s): source_file.c: In function ‘main’: source_file.c:31:11: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[100]’ [-Wformat=] scanf("%s%lf%lf%lf",&CustomerName,&Days,&Miles,&Gallons); ^ source_file.c:31:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s%lf%lf%lf",&CustomerName,&Days,&Miles,&Gallons); ^ ---------------------------------------------------------- Part 1-1 * * * * * * * * * * Part 1-2 * * * * * * * * * * * * * * * * * * * * * * * * * ---------------------------------------------------------- Part 2 Customer name: Number of days: Number of miles: Number of gallons: ------------------------------ Total Rental Cost:$_______ ------------------------------ Customer name:MichaelBeans Num ber of days:2.000000 Number of miles:2.000000 Number of gallons:2.000000 ------------------------------ Total Rental Cost:$ 64.000000 _______ ---------------------------------------------------------------------- Part 3 |
λ
.NET NoSQL database for rapid development
|