100% found this document useful (23 votes)
80 views

Download ebooks file Solution Manual for Intro to Java Programming, Comp Version, 10/E 10th Edition : 0133813460 all chapters

Manual

Uploaded by

yazielkuromi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (23 votes)
80 views

Download ebooks file Solution Manual for Intro to Java Programming, Comp Version, 10/E 10th Edition : 0133813460 all chapters

Manual

Uploaded by

yazielkuromi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Visit https://testbankbell.

com to download the full version and


explore more testbank or solution manual

Solution Manual for Intro to Java Programming, Comp


Version, 10/E 10th Edition : 0133813460

_____ Click the link below to download _____


http://testbankbell.com/product/solution-manual-for-
intro-to-java-programming-comp-version-10-e-10th-
edition-0133813460/

Explore and download more testbank at testbankbell


Here are some recommended products that might interest you.
You can download now and explore!

Test Bank for Intro to Java Programming, Comp Version,


10/E 10th Edition : 0133813460

http://testbankbell.com/product/test-bank-for-intro-to-java-
programming-comp-version-10-e-10th-edition-0133813460/

testbankbell.com

Introduction to Java Programming Comprehensive Version


10th Edition Liang Test Bank

http://testbankbell.com/product/introduction-to-java-programming-
comprehensive-version-10th-edition-liang-test-bank/

testbankbell.com

Solution Manual for Introduction to Java Programming,


Brief Version, 11th Edition, Y. Daniel Liang

http://testbankbell.com/product/solution-manual-for-introduction-to-
java-programming-brief-version-11th-edition-y-daniel-liang/

testbankbell.com

Test Bank for Microbiology: A Systems Approach, 6th


Edition, Marjorie Kelly Cowan, Heidi Smith

http://testbankbell.com/product/test-bank-for-microbiology-a-systems-
approach-6th-edition-marjorie-kelly-cowan-heidi-smith/

testbankbell.com
Discovering the Scientist Within Research Methods in
Psychology 1st Edition Lewandowski Test Bank

http://testbankbell.com/product/discovering-the-scientist-within-
research-methods-in-psychology-1st-edition-lewandowski-test-bank/

testbankbell.com

Management Accounting Information for Decision-Making and


Strategy Execution Atkinson 6th Edition Test Bank

http://testbankbell.com/product/management-accounting-information-for-
decision-making-and-strategy-execution-atkinson-6th-edition-test-bank/

testbankbell.com

Understanding Nutrition Whitney 12th Edition Test Bank

http://testbankbell.com/product/understanding-nutrition-whitney-12th-
edition-test-bank/

testbankbell.com

Government and Not-for-Profit Accounting Concepts and


Practices Granof Khumawala 5th Edition Solutions Manual

http://testbankbell.com/product/government-and-not-for-profit-
accounting-concepts-and-practices-granof-khumawala-5th-edition-
solutions-manual/
testbankbell.com

Solution Manual for Forensic Accounting and Fraud


Examination, 2nd Edition, Mary-Jo Kranacher, Richard
Riley, 417
http://testbankbell.com/product/solution-manual-for-forensic-
accounting-and-fraud-examination-2nd-edition-mary-jo-kranacher-
richard-riley-417/
testbankbell.com
Elementary Linear Algebra with Applications 9th Edition
Kolman Solutions Manual

http://testbankbell.com/product/elementary-linear-algebra-with-
applications-9th-edition-kolman-solutions-manual/

testbankbell.com
Solution Manual for Intro to Java
Programming, Comp Version, 10/E 10th
Edition : 0133813460
full chapter at: https://testbankbell.com/product/solution-
manual-for-intro-to-java-programming-comp-version-10-e-10th-
edition-0133813460/
Student Name:
Class and Section
Total Points (20 pts)
Due: Jan 31, 2011 before the class

Project: Calculating Future Investment Value


CSCI 1301 Introduction to Programming Principles
Armstrong Atlantic State University

Problem Description:

Write a program that reads in investment amount, annual interest rate, and number of
years, and displays the future investment value using the following formula:
and displays the future investment value using the following formula:

futureInvestmentValue =
investmentAmount * (1 + monthlyInterestRate)numberOfYears*12

For example, if you enter amount 1000, annual interest rate 3.25%, and number of years
1, the future investment value is 1032.98.

Hint: Use the Math.pow(a, b) method to compute a raised to the power of b.

Here is a sample run:

Sample 1:
Enter investment amount: 1000
Enter annual interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.34

Sample 2:
Enter investment amount: 1000
Enter annual interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.34

Analysis:

1
(Describe the problem including input and output in your own words.)

2
Design:
(Describe the major steps for solving the problem.)

Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)

[Copy and Paste Your program here]

Testing: (Describe how you test this program)

Submit the following items:

1. Print this Word file and Submit to me before the class on the due day

2. Compile, Run, and Submit to LiveLab as Exercise02_17 (you must submit the program
regardless whether it complete or incomplete, correct or incorrect)
3
Code Solution:

public class Test {


public static void main(String[] args) {
java.util.Scanner input = new java.util.Scanner(System.in);

// Enter the investment amount


System.out.print(
"Enter the investment amount, for example 120000.95: ");
double investmentAmount = input.nextDouble();

// Enter yearly interest rate


System.out.print("Enter annual interest rate, for example 8.25: ");
double annualInterestRate = input.nextDouble();

// Obtain monthly interest rate


double monthlyInterestRate = annualInterestRate / 1200;

// Enter number of years


System.out.print(
"Enter number of years as an integer, \nfor example 5: ");
int numOfYears = input.nextInt();

double futureValue =
investmentAmount * Math.pow(1 + monthlyInterestRate,
numOfYears * 12);

System.out.print("Future value is " +


(int)(futureValue * 100) / 100.0);
}
}

4
Other documents randomly have
different content
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for


the “Right of Replacement or Refund” described in paragraph 1.F.3,
the Project Gutenberg Literary Archive Foundation, the owner of the
Project Gutenberg™ trademark, and any other party distributing a
Project Gutenberg™ electronic work under this agreement, disclaim
all liability to you for damages, costs and expenses, including legal
fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR
NEGLIGENCE, STRICT LIABILITY, BREACH OF WARRANTY OR
BREACH OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE TRADEMARK
OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL
NOT BE LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE OR INCIDENTAL DAMAGES EVEN IF
YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving
it, you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or
entity that provided you with the defective work may elect to provide
a replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation,


the trademark owner, any agent or employee of the Foundation,
anyone providing copies of Project Gutenberg™ electronic works in
accordance with this agreement, and any volunteers associated with
the production, promotion and distribution of Project Gutenberg™
electronic works, harmless from all liability, costs and expenses,
including legal fees, that arise directly or indirectly from any of the
following which you do or cause to occur: (a) distribution of this or
any Project Gutenberg™ work, (b) alteration, modification, or
additions or deletions to any Project Gutenberg™ work, and (c) any
Defect you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many
small donations ($1 to $5,000) are particularly important to
maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.
Project Gutenberg™ eBooks are often created from several printed
editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

testbankbell.com

You might also like