Write a program that reads the number of students who passed and failed in the exams and displays the percentages. For example:
輸入及格與不及格人數 輸出及格與不及格百分數
Example input:
12 8
Example output:
Success Ratio: 60% Fail Ratio: 40%
Hidden content!** * *** * int main(){** * * * * * ** * a,b,c,d;* * * * ** * * * * ** ** * * * *** * **** * *** *** * *** ** * ** * * * * * * Ratio: * ** * ** * * * *** ** * * * * ******** * * * ** * * ** *** Ratio: %g%%",100*(b/(a+b)));