calculate percantage in c programming
Answers
Answered by
0
Answer:
hope it helps u!!!
.........
Attachments:
Answered by
0
Answer:
Explaination:
Algorithm
Algorithm to find percentage is as follows −
Pseudocode
Pseudocode for the algorithm can be written as −
{#include <stdio.h>// int main(){
float percentage;
int total_marks = 1200;
int scored = 1122;
percentage = (float)scored / total_marks * 100.0;
printf("Percentage = %.2f%%", percentage);
return 0;
}
HOPE IT WILL HELP YOU PLZ MRK AS BRAINLIST ☺️☺️☺️
DON'T FORGET TO FØLLØW ME
HV A GOOD DAY
Similar questions