Please do this in C# (C Sharp) Kilogram Converter In a medical office, employees must use weight measurements in kilograms and pounds.  Create a program  (console based ) that displays a table of kilograms 0-20 and the equivalent weight in pounds. The application should use a loop to display weights in a list box. Use this conversion: 1 kg = 2.2 lbs   Calculating Factorials The notation n! represents to the factorial of the nonnegative integer n. The factorial of n is the product of all the nonnegative integers from 1 through n. For example,                                 3! = 1 x 2 x 3 = 6                                 9! = 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 = 362,880 Create a program (console based ) that lets the user enter a nonnegative integer and then uses a loop to calculate the factorial of that number. Display the factorial on a label or in a message box.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

Please do this in C# (C Sharp)

Kilogram Converter

In a medical office, employees must use weight measurements in kilograms and pounds.  Create a program  (console based ) that displays a table of kilograms 0-20 and the equivalent weight in pounds. The application should use a loop to display weights in a list box.

Use this conversion: 1 kg = 2.2 lbs

 

Calculating Factorials

The notation n! represents to the factorial of the nonnegative integer n. The factorial of n is the product of all the nonnegative integers from 1 through n.

For example,

                                3! = 1 x 2 x 3 = 6

                                9! = 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 = 362,880

Create a program (console based ) that lets the user enter a nonnegative integer and then uses a loop to calculate the factorial of that number. Display the factorial on a label or in a message box.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Program on Numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning