Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Compute the average kids per family

Compute the average kids per family

Computer Science

Compute the average kids per family. Note that the integers should be type cast to doubles.

import java.util.Scanner; public class TypeCasting { public static void main (String [] args) { int numKidsA = 1; int numKidsB = 4; int numKidsC = 5; int numFamilies = 3; double avgKids = 0.0; System.out.print("Average kids per family: "); System.out.println(avgKids); return; } }

i can't figure it out

Option 1

Low Cost Option
Download this past answer in few clicks

2.85 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE