9 void calculate(float &p, float &q, float &r, float a[], float b[], float c[], int x, int y, int z) // void function th

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

9 void calculate(float &p, float &q, float &r, float a[], float b[], float c[], int x, int y, int z) // void function th

Post by answerhappygod »

9 Void Calculate Float P Float Q Float R Float A Float B Float C Int X Int Y Int Z Void Function Th 1
9 Void Calculate Float P Float Q Float R Float A Float B Float C Int X Int Y Int Z Void Function Th 1 (36.9 KiB) Viewed 30 times
9 void calculate(float &p, float &q, float &r, float a[], float b[], float c[], int x, int y, int z) // void function that calculates overall grade 10 ~{ 11 int st1=0, st2=0, st3=0; 12 for(int i=0; i<x; i++) 13 st1 += a; 14 for(int i=0; i<y; i++) 15 st2 += b; 16 for(int i=0; i<z; i++) 17 st3 += c; 18 p = ((float)st1/(x*20))*100.0; 20 9 = ((float)st2/(y*10))*100.0; 21 ((float)st3/(x*20))*100.©; 22 } 19 r =
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply