TOPIC
Wrong answer (100%)
1Powerhande asked 2 years ago
#include <stdio.h>
int main(){
char nome[30];
float sal,total,V;
scanf ("%s",nome);
scanf ("%lf %lf",&sal,&V);
total= (sal+(V*0.15));
printf ("%c",nome);
printf ("%lf\n",V);
printf ("%.2lf\n",sal);
printf ("TOTAL = R$ %.2lf\n",total);
return 0;
}
Why is Wrong ?