ChatAWhile - using System public class Chapter4 cfw static void Main(string args cfw int areaCode = new int cfw 262 414 608 715 815 920 double

ChatAWhile - using System public class Chapter4 cfw static...

This preview shows page 1 out of 1 page.

using System; public class Chapter4 { static void Main(string[] args) { int[] areaCode = new int[] { 262, 414, 608, 715, 815, 920 }; double[] perMinuteRate = new double[] { 0.07, 0.10, 0.05, 0.16, 0.24, 0.14 }; string inputString, inputString1; int validAreaCode; double totalCharge = 0, inputLength; double areaCodexPerMinuteRate = 0; Console.WriteLine("Pleas enter zipcode "); inputString = Console.ReadLine(); validAreaCode = Convert.ToInt32(inputString); Console.WriteLine("Please enter the length of the call"); inputString1 = Console.ReadLine();
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '13

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes