WELL i have five questiosn to answer and use console applciation in c# to answer them in here is the first qeustion:
2. A telephone company charges its customers 3.5p for each minute they use the phone during the day, 5.4p for each minute during the evening, and 6.25p for each minute during weekends. They also charge a line rental of £11 per month irrespective of whether or not any calls have been made. The total charge is subject to VAT at a rate of 17.5%.
Write a program which reads in the total number of minutes of calls made by a customer in a month at each of the three rates and calculates the total cost.
The outputs required are:
Number of minutes of daytime calls, number of minutes of evening calls, number of minutes of weekend calls, costs of daytime, evening and weekend calls, the line rental, a sub-total charge, VAT payable and total charge.
here is the code i have come with so far!!:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
Single daymin = 3.5f;
Single dayeven = 5.4f;
Single weekends = 6.25f;
Single totaldaymin = 0;
Console.WriteLine("\n enter amount of minutes");
daymin = Convert.ToInt32(Console.ReadKey());
totaldaymin = daymin * 3.5f;
Console.ReadKey();
}
}
}
^^^ how to finish this off????so confused on how to do this question???