CS1160 HW for jamesblent
Use while loops for first two programs below. P4.3. P4.5. P4.13. Your output should not include decimal points or numbers after the decimal. You may use a method in the Math class to complete this assignment. Your output should begin and look similar to the following below where the '^' means 'raised to the power of': Output: 2^0 ---> 1 2^1 ---> 2 2^3 ---> 8 ...
Hint: Remember, you can cast double numbers (which have decimal points) to whole numbers such as integers. For example: double x = 2.5; int y = (int) x; // The (int) in front means drop the numbers after the decimal point. y <- 2
P4.27. Use www.xe.com to find out and use the exchange rates from February 26, 2014 to complete this problem.
Items to submit - For the review exercises, only a consolidated Microsoft Word document called yourlastname_hw_4-1_review.doc. - Full specifications for each programming problem combined into one consolidated Microsoft Word document called yourlastname_hw_4-1_specifications.doc. - Exported Netbeans project (.zip) for each programming problem. For example, problem 4.2 should be called yourlastname_hw4-1_netbeans_4-2.zip. - Screen shot of each running program combined into one consolidated Word document called yourlastname_hw4-1_snapshot.doc. - One consolidated Microsoft Word document called yourlastname_hw4-1_output.doc with 1 sample of output per problem from your program. | |
12 years ago
20
Purchase the answer to view it

- assignment.zip
- economics
- STR 581 Week 3 Practice Quiz
- Can someone please assist? I need a one page... Willing to pay $10
- anyone want to do this assignment?
- FOR GENIUSY_2006
- Communication Paper
- sociology paper
- CASE STUDY QUESTIONS
- (Deleted) ACC Pics 1
- E6-21B (Expected Cash Flows and Present Value) Jim Bowie is trying to determine the amount to set aside so that he will have enough money on hand in 4 years to overhaul the engine on his vintage truck.