Question: I want to convert this code into flowchart. 10 Vodafone AL @ 7% 13:07 repl.it AA = EvaDai / Assignment #2 C 51027 - Download
I want to convert this code into flowchart.
10 Vodafone AL @ 7% 13:07 repl.it AA = EvaDai / Assignment #2 C 51027 - Download Percentage Files 1 #include 2 3 int main() { 4 int at, bt,ct, ad, bd, cd, ta, td; 5 double d1, d2, d3, tn; 6 scanf("%d %d %d %d %d %d", &at ,&bt,&ct,&ad, &bd,&cd); 7 d1=(double) (ad*100)/at; 8 d2=(double) (bd*100)/bt; 9 d3=( double) (cd*100)/ct; 10 if(d1>=d2 && d1>=d3) { 11 printf(" %.21f ", d1); 12 } else if (d2>=d1 && d2>=d3) { printf(" %21f ", d2); } else if (d3>=d1 && d3>=d2) { 15 printf(" %.21f", d3); 16 } 17 ta=at+bt+ct; 18 td=ad+bd+cd; 19 tn=(double)td/ta*100; 20 printf(" %.21f", tn); 21 return 0; D 13 14 Code Console Commands P >