Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started