Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Part II: Your Rental Company
//gcc 5.4.0 #include <stdio.h> #include <math.h> int main() { float miles; float gallons; float total; float days; scanf("%f", &days); scanf("%f", &miles); scanf("%f", &gallons); miles = miles* 0.50; gallons= gallons*1.50; total= 30 + miles + gallons; printf("\n Number of days: %f" , days); printf("\n Number of miles: %f", miles); printf("\n Number of gallons: %f", gallons); printf("\n The total rental cost is: %f" , total); return 0; }
run
|
edit
|
history
|
help
0
muuchas funciones utiles
Linked List
gcc compiler bug.. weird.
-Shello.c
InterviewDesk_Embedded
Practice
140114_CribaErasthotenes
A_141121_fibonacci
6 ejercicio trabajo semanal 4
Lab 9 v0.96