Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main()
- {
- float salmin,houses;
- printf("Entre com o salario minimo atual : \n"); scanf("%f",&salmin);
- houses = 10000000/(3*salmin);
- printf("Sera possivel construir %f casas populares.\n",floor(houses));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment