Question: 5) [5 marks) Write a C# program is a flat charge of $1.25 for every from the table below): te a C program that computes
5) [5 marks) Write a C# program is a flat charge of $1.25 for every from the table below): te a C program that computes the charge for using a package delivery system. There Se of 51.25 for every package plus an additional charge based on weight (calculated Weight (kg) Cost-per-kg (5) $2.00 -3.5 > 3.5 S3.50 $4.25 The program is to prompt the user and input the weight (double) and then compute and output the cost (double) in a nice fashion. Use a multi-alterative if statement to determine the cost-per-kg for Puckage. Also please use a do-while loop to verify that the weight a user enters is greater than but than 100 kg. Finally, be sure to use constants if applicable. using System; public static class RichEx public static void Main) cost-perky (8) Weight (kg) Cost =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
