My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Fill in the order form to get the price
Subject
Select Subject
Programming & Computer Science
Math
Engineering
Economics
Physics
Other
Category
C++
Software Engineering
Java | JSP | JSF
Databases | SQL | Oracle | MS Access
C
Python
Excel
C#
Visual Basic
Computer Networks
Functional Programming
Android
Assembler
UNIX/Linux Programming
ASP | ASP.NET
MatLAB
Wolfram Mathematica
MathCAD
Maple
Perl
Action Script | Flash | Flex | ColdFusion
Ruby | Ruby on Rails
Prolog
Objective-C | Swift
Algorithms
Web Development
HTML/JavaScript Web Application
NodeJS Web Application
Other
Deadline
Timezone:
Title
*
Task
*
{"ops":[{"insert":"The cost to ship a package is a flat fee of 75 cents plus 25 cents per pound.\n1. Declare a const named CENTS_PER_POUND and initialize with 25.\n2. Get the shipping weight from user input storing the weight into shipWeightPounds.\n3. Using FLAT_FEE_CENTS and CENTS_PER_POUND constants, assign shipCostCents with the cost of shipping a package weighing shipWeightPounds.\n\n\nthis is what i have down, but something is missing and i cant tell\n\n\n#include <stdio.h>\n\nint main(void) {\n\u00a0\u00a0int shipWeightPounds;\n\u00a0\u00a0int shipCostCents = 0;\n\u00a0\u00a0const int FLAT_FEE_CENTS = 75;\n\n\u00a0\u00a0\n\u00a0\u00a0const int CENTS_PER_POUND = 25;\n\u00a0\u00a0shipCostCents = FLAT_FEE_CENTS + (shipWeightPounds * CENTS_PER_POUND);\n\n\u00a0\u00a0printf(\"Weight(lb): %d, Flat fee(cents): %d, Cents per pound: %d\\nShipping cost(cents): %d\\n\",\n\u00a0\u00a0\u00a0\u00a0\u00a0shipWeightPounds, FLAT_FEE_CENTS, CENTS_PER_POUND, shipCostCents);\n\n\u00a0\u00a0return 0;\n}\n"}]}
I need basic explanations
Special Requirements
Upload files (if required)
Drop files here to upload
Add files...
Account info
Already have an account?
Create an account
Name
*
E-mail
*
Password
*
The password must be at least 6 characters.
I agree with
terms & conditions
Create account & Place an order
Please fix the following input errors:
dummy