Question: CHALLENGE ACTIVITY 2 . 1 2 . 2 : Type casting: Computing average kids per family. Compute the average kids per family. Note that the
CHALLENGE
ACTIVITY
: Type casting: Computing average kids per family.
Compute the average kids per family. Note that the integers should be type cast to dou
Learn how our autograder works
using namespace sta;
int main
int numkidsA;
int numKidsB;
int numKidsC;
int numFamilies;
double avgKids;
cin numKidsA;
cin numKidsB;
cin numKids ;
cin numFamilies;
avgKids numKidsA numKidsB numKidsC numFamilies;
cout avgKids endl;
Not all tests passed
Testing with and numfamilies
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
