Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- float dolares;
- float reais;
- float converter;
- printf("O digite o valor do dolar: ");
- scanf("%f",&dolares);
- printf("O digite o valor do real:");
- scanf("%f",&reais);
- converter=dolares*reais/24;
- printf("%.1f * %.1f/31 = %.2f",dolares,reais,converter);
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement