input e switch

This commit is contained in:
Kennedy Menezes 2021-09-07 14:33:10 -03:00
parent 1520dd49af
commit 7101fd99ff
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
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;
// }
}