Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- float sal,off,liquids,mon;
- printf("Entre com o seu salario bruto :\n"); scanf("%f",&sal);
- printf("Entre com o valor de seus descontos :\n"); scanf("%f",&off);
- printf("Entre com o valor desejado o emrpestimo :\n"); scanf("%f",&mon);
- liquids = sal- off;
- if (mon<=(liquids*0.3))
- {
- printf("Emprestimo concedido!\n");
- }
- else printf("Emprestimo negado!\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment