what shold I add to get the percent symbol after my grade th
what shold I add to get the percent symbol after my grade
the following in my code:
grade=grade+(weight[i] * marks[j][i]);
 }
 printf(\"Student #%d\'s final marks is %4.2lf \ \",j + 1,grade);
}
my output look like
The output should look like:
Student #1\'s final mark is 8.50%
Student #2\'s final mark is 28.50%
Solution
Answer:
printf(\"Student #%d\'s final marks is %4.2lf%\ \",j + 1,grade);
grade=grade+(weight[i] * marks[j][i]);
 }
 printf(\"Student #%d\'s final marks is %4.2lf%\\n\",j + 1,grade);
}
![what shold I add to get the percent symbol after my grade the following in my code: grade=grade+(weight[i] * marks[j][i]); } printf(\ what shold I add to get the percent symbol after my grade the following in my code: grade=grade+(weight[i] * marks[j][i]); } printf(\](/WebImages/39/what-shold-i-add-to-get-the-percent-symbol-after-my-grade-th-1119776-1761595651-0.webp)
