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();

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture