Posts by Marcelo Reis • 45 points
2 posts
-
-2
votes1
answer149
viewsQ: I wrote this code in Dev C++, it compiled but does not perform the operation
When I run and type a number it does not multiply, it only displays the message " Price:" and not the multiplication result. #include<stdio.h> main() { int quantidade; double valor;…
-
3
votes2
answers1022
viewsQ: Error: incompatible type for argument 1 of 'printf'
I have this activity, exercise, where is to display the largest number, but is giving the error: "incompatible type for argument 1 of 'printf' " On the command line "printf (valor2);". Code:…