2 、{int? Party A, Party B and Party C; Scanf("%d%d%d ",& i, & c); ?
3、? int? sum? =? a+b+ c; ?
4、? Printf ("and:? %d ",total);
5.printf ("average: %f", sum/3.0); ?
6. Return? 0
Explanation:
1, first define four shapes.
2. Floating-point type saves the average.
3. Then wait for input at the console.
4. Add the three input integers and assign them to sum.
5. Divide three shapes by 3.0 (why 3.0, because ave is a floating-point type, which is implicitly converted to a floating-point type).
6. Then output.