Question: CHALLENGE ACTIVITY 2.11.2: Type casting: Computing average kids per family. Compute the average kids per family. Note that the integers should be type cast to

 CHALLENGE ACTIVITY 2.11.2: Type casting: Computing average kids per family. Compute

CHALLENGE ACTIVITY 2.11.2: Type casting: Computing average kids per family. Compute the average kids per family. Note that the integers should be type cast to doubles. 1 test passed All tests passed 1 #include 2 using namespace std; 3 4 int main() { int numKidsA; 6 int numKidsB; 7 int numKidsc; 8 int numFamilies; 9 double avgKids; 10 11 cin >> numkidsA; 12 cin >> numKidsB; 13 cin >> numKidsC; 14 cin >> numFamilies; 15 16 \* Your solution goes here */ 17 18 cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!