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!#include * * * * * int main (){* ** * ** ** ** * * * ** ** * a,b,c, D, E;** ** **** * * * ** * * * *** ***** *** * * * ** * * ** ** *** * * * *** * ** * = a+b; * * * * * * **** * * = (a/c)*100; * * ** * *** * ** * = *