25 lines
377 B
C
25 lines
377 B
C
|
int main () {
|
||
|
|
||
|
int n;
|
||
|
float litro, teor;
|
||
|
|
||
|
|
||
|
printf("Quantos barris você quer balancear?");
|
||
|
scanf("%d", &n);
|
||
|
|
||
|
for(int i=0; i <= n; i++) {
|
||
|
scanf("%f %f", &litro, &teor);
|
||
|
}
|
||
|
|
||
|
// switch (expression)
|
||
|
// {
|
||
|
// case /* constant-expression */:
|
||
|
// /* code */
|
||
|
// break;
|
||
|
|
||
|
// default:
|
||
|
// break;
|
||
|
// }
|
||
|
|
||
|
|
||
|
}
|