Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

Discuss the main contents of a configuration management plan.

Answered: 1 week ago