This commit is contained in:
2024-03-26 11:15:25 +03:00
parent 4ecfebcd1b
commit 04d946e28c
38 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#include <stdio.h>
int main(void) {
printf("%s\n", "Enter sales in dollars (-1 to end):");
float sale;
scanf("%f", &sale);
while (sale != -1) {
printf("%s %.2f\n", "Salary is:", ((sale*9)/100)+200);
printf("%s\n", "Enter sales in dollars (-1 to end):");
scanf("%f", &sale);
}
return 0;
}