Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- float q,r,c;
- printf("Entre com a quantidade de parafusos: \n");
- scanf("%f",&q);
- c = (0.05 * q) + 1200;
- printf("O custo e: %f\n",c);
- r = 0.10 * q;
- printf("A receita e: %f",r);
- }
Advertisement
Add Comment
Please, Sign In to add comment