Coding II

| repl.it | w3schools.com | Site Stats
Game | Food Drink | Leave Room | Classroom Tardy | Backpack | Music Cell |
Coding I Schedule | Coding I LogIn | Coding I Archive | Coding I Resources |
Coding II Schedule | Coding II LogIn | Coding II Archive | Coding II Resources |
APP schedule | APP LogIn | APP Archive | APP Resources |
CSF schedule | CSF LogIn | CSF Archive | CSF Resources |

PE-10 Montreal Smoked Meats

 

In countries using the metric system, many products are sold by grams and kilograms as opposed to pounds and ounces.

Write an application that converts grams to pounds and will display the price of the product by pound for two products.

Test your application by doing a compile-time initialization of a product called Montreal Smoked Meat, which sells for $2.09 per 100 grams and for Ribeye Steaks for $1.37 for 50 grams.

 

 

 

 

 

 

 

 

 

 

 

 

 

updated: Tuesday, September 14, 2021 10:31 AM

Period 4 INFS Coding II

At    Ch     Co     Hu     Ke       Mr
Og     Pa     Ra     Wa    Ye   Zh    
Not listed 4th

Period 6 INFS Coding II

Bai     Bal     Ca     He     Hu    
Hy     Mo     Po     Re     St     Th       
Not listed 6th

Last Name :

Email :

Select one of the following that describes when and why you are filling out this form:
This assignment is being submitted before the due date.
This assignment is being submitted after the due date. (Not necessarily late)

 

In countries using the metric system, many products are sold by grams and kilograms as opposed to pounds and ounces.

Write an application that converts grams to pounds and will display the price of the product by pound for two products.

Test your application by doing a compile-time initialization of a product called Montreal Smoked Meat, which sells for $2.09 per 100 grams and for Ribeye Steaks for $1.37 for 50 grams.

1

Grading Considerations

Project Name : Montreal Smoked Meats
Declare and initialize
: cost of smoked meats at $2.09 for 100 grams and ribeyes at $1.37 for 50 grams.
Project Description : Enter appropriate description using input and output
IDOC
EBC
One constant is used for grams in a pound (use 454)
Descriptive Constant Identifier following naming conventions.
six variables are used, 3 for the smoked meats and 3 for ribeye steaks.(item name, cost, grams)
Descriptive variable Identifier following naming conventions.
Currency formatting is used.
Width Specifiers are used to create columns for the item and the cost in pounds.
Calculation determining the cost per pound.
Has identical output.

Add this as the first line of output. This is used to determine column widths. Remove it when the program is finished.

Console.WriteLine("123456789012345678901234567890");

 

 

 

Copy and paste code below

Sample Output

 

 

Updated: Friday, September 18, 2020 7:54 AM

About Us | Contact Us | ©2005 brentwoodhigh.com