TOPIC

Runtime error

Guilherme Menezes asked 2 months ago

include

int main (){

double salario, bonus, total; char nome[10];

scanf("%s",&nome[10]); scanf("%f",&salario); scanf("%f",&bonus);

total = salario +(bonus*15)/100;

printf("TOTAL = R$ %.2f\n",total);

}

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.