100% found this document useful (3 votes)
27 views31 pages

Problem Solving With C++ 9th Edition Savitch Solutions Manual Instant Download

The document provides information on downloading solution manuals and test banks for various editions of 'Problem Solving with C++' by Savitch, along with other educational resources. It includes a detailed programming project related to rainfall data, showcasing how to implement it using C++ with options for tabular or graphical output. The document also contains code snippets and explanations for handling arrays and struct data types in C++.

Uploaded by

tolenjirikey
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 (3 votes)
27 views31 pages

Problem Solving With C++ 9th Edition Savitch Solutions Manual Instant Download

The document provides information on downloading solution manuals and test banks for various editions of 'Problem Solving with C++' by Savitch, along with other educational resources. It includes a detailed programming project related to rainfall data, showcasing how to implement it using C++ with options for tabular or graphical output. The document also contains code snippets and explanations for handling arrays and struct data types in C++.

Uploaded by

tolenjirikey
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/ 31

Problem Solving with C++ 9th Edition Savitch

Solutions Manual download

https://testbankfan.com/product/problem-solving-with-c-9th-
edition-savitch-solutions-manual/

Find test banks or solution manuals at testbankfan.com today!


Here are some recommended products for you. Click the link to
download, or explore more at testbankfan.com

Problem Solving with C++ 9th Edition Savitch Test Bank

https://testbankfan.com/product/problem-solving-with-c-9th-edition-
savitch-test-bank/

Problem Solving with C++ 10th Edition Savitch Solutions


Manual

https://testbankfan.com/product/problem-solving-with-c-10th-edition-
savitch-solutions-manual/

Problem Solving with C++ 10th Edition Savitch Test Bank

https://testbankfan.com/product/problem-solving-with-c-10th-edition-
savitch-test-bank/

Fundamentals of Financial Management Concise Edition 8th


Edition Brigham Test Bank

https://testbankfan.com/product/fundamentals-of-financial-management-
concise-edition-8th-edition-brigham-test-bank/
History of Psychology The Making of a Science 1st Edition
Kardas Test Bank

https://testbankfan.com/product/history-of-psychology-the-making-of-a-
science-1st-edition-kardas-test-bank/

Management The Essentials 4th Edition Robbins Solutions


Manual

https://testbankfan.com/product/management-the-essentials-4th-edition-
robbins-solutions-manual/

Building Management Skills An Action-First Approach 1st


Edition Daft Test Bank

https://testbankfan.com/product/building-management-skills-an-action-
first-approach-1st-edition-daft-test-bank/

COMM 4th Edition Verderber Test Bank

https://testbankfan.com/product/comm-4th-edition-verderber-test-bank/

Business Law Australian 10th Edition Gibson Test Bank

https://testbankfan.com/product/business-law-australian-10th-edition-
gibson-test-bank/
Labor Relations Striking a Balance 4th Edition Budd Test
Bank

https://testbankfan.com/product/labor-relations-striking-a-
balance-4th-edition-budd-test-bank/
Chapter 7

ARRAYS

1. Solutions to and Remarks on Selected Practice Programs and


Programming Projects

Regarding the solutions presented here.: C++ leaves many options on how to do a problem,
and any book will necessarily choose a subset to present. It is necessary to read the text, as
that is what the student has to work with. I am striving to produce a complementary
document to the text, a document for the instructor. Most of the time, will use the
initialization list style for constructors. If you present the code using the initializer list, you
should also assign Appendix 7 on constructor initialization.

Programming Project 1: Rainfall

Here, I have done the interactive version only. The solution is broken into two files. The
source for each is listed, along with test data, command generating the output and the
output.

I have done the solution using structs here. The enhancement of adding the choice of
graphical output is provided. I have done only the interactive version here. The variation
using file i/o is left to the reader. Notes will be supplied for doing this without the struct.

//Author indicates that this may be done without structs or


//classes. This is a solution using structs.

//Program is to
//1)read in long term month by month average rain fall
// averages
//2)read in the previous year's month by month actual rain
// fall.

1
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

//Output:
//'nicely' formatted table showing rainfall for each of the
// previous
//12 months as well as how much above or below the monthly
// average the rainfall is for each month. The output
// should correctly label months.
//
//Month name handling: code months as integers and do a
//conversion at output. Any input scheme acceptable as long
//as the user interface is relatively easy to use.

//Remarks: If the current month is April, we don't have


//April's rainfall figure yet, so we go back to April of the
//previous year, to March of this year.

//Enhanced version:
//Add capability to print two bar graphs for each month,
//showing the average rainfall and the actual rainfall for
//each of the previous 12 months. Ask the user's preference:
//a table or a graph, and display the format requested.
//
//Provide a loop to repeat the process at the user's request.

//Command line compile, where g++ is replaced by BCC32


//or CL –GX or CC depending on which compiler you use.
//g++ Ch10Prg1.cpp Ch10Prg1.bargraph.cpp

#include <iostream>
#include <cstring>

2
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

#include <cstdlib>

struct monthly_rain
{
int month;
double rain_fall;
double avg_rain_fall;
};

//declaration of function from file Ch10Prg1.bargraph.cpp


void output_bargraph( monthly_rain rainfall[],
int current_month );
//output: scale and bargraph of month by month average and
//actual rainfall.

void input( monthly_rain rainfall[], int& year );


//precondition:
//routine called correctly, with variable arguments
//postcondition:
//User is asked for current month, then is asked for
//the average and actual rainfall for each of the
//preceding 12 months.

void output_table( monthly_rain rainfall[], int& year );


//Precondition:
//input is array of size 12 of monthly_rain structs.
//Postcondition: output to screen is formatted table showing
//rainfall for each of the previous 12 months as well as how
//much above or below the monthly average the rainfall

3
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

//for each month. The output should correctly label months.

int main()
{
using namespace std;
int current_month;
monthly_rain rainfall[12];
char ans;
char tg;
do
{
input( rainfall, current_month);
cout << "Please choose between g)raphical and t)abular "
<< "output" << endl;
cin >> tg; //tg means table/graphics choice :)

if ( 't' == tg || 'T' == tg )
{
cout << "You chose the tabular output." << endl;
output_table( rainfall, current_month );
}
else if ( 'g' == tg || 'G' == tg )
{
cout << "You chose the graphical output" << endl;
output_bargraph( rainfall, current_month);
}
else
{
cout << "You typed neither of the choices. "

4
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

<< "Defaulting to graphical output." << endl;


output_bargraph( rainfall, current_month );
}
cout << "Y/y continues, any thing else quits";
cin >> ans;
}while( 'y' == ans || 'Y' == ans );
return 0;
}

void full_month_name(int);

void input( monthly_rain rainfall[], int& current_month)


{
using namespace std;
int i;
cout << "\nMonthly rainfall input routine."
<< endl << endl
<< "Please enter the average rainfall for each month "
<< endl;

cout << " Average rainfall: " << endl;


for ( i = 0; i < 12; i++)
{
cout << "For month ";
full_month_name(i);
cout << ' ';
cin >> rainfall[i].avg_rain_fall;
cout << " \t Avg Rainfall: "
<< rainfall[i].avg_rain_fall;

5
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

rainfall[i].month = i;
cout << endl;
}

cout << endl << "The actual rainfall: " << endl;
cout << "What is the current month? Please give the "
<< "number of the month (Jan = 0, etc." << endl;

cin >> current_month;


cout << " The current month is: " ;
full_month_name(current_month);
cout << endl;

cout << "Please enter the actual rainfall for "


<< "each month, as prompted, First for the\n"
<< "months in the previous year: "
<< endl;

for ( i = current_month; i < 12; i++)


{
cout << "For month ";
full_month_name(i);
cout << " ";
cin >> rainfall[i].rain_fall;
cout << "\tRainfall: " << rainfall[i].rain_fall;
cout << endl;
}
cout << "Now for the months in this year: " << endl;
for ( i = 0; i < current_month; i++)

6
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

{
cout << "For month ";
full_month_name(i);
cout << ' ';
cin >> rainfall[i].rain_fall;
cout << "\tRainfall: " << rainfall[i].rain_fall;
cout << endl;
}

} //end of input routine

//helping routines for output_table, defined at the end of


//this file.
void month_name( int month );
void full_month_name( int month);

void output_table(monthly_rain rainfall[],


int& current_month)
{
using namespace std;
int i;
cout.setf(ios::fixed);
cout.setf(ios::showpoint);
cout.precision(1);
//heading: Monthly Rainfall
// For the 12 Months Preceding .....
// Actual, Average, and Difference (= Actual - Average)

cout << "\t\t\t\t Monthly Rainfall " << endl;

7
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

cout << "\t\t\tFor the 12 Months Preceding ";


full_month_name( current_month );
cout << endl;
cout << "\t\tActual, Average, and Difference "
<< " (= Actual - Average)" << endl;

cout << "\t-----+-----+-----+-----+-----+-----+-----"


<< "+-----+-----+-----+-----+----" << endl << "\t ";

for ( i = 0; i < 11; i++ )


{
month_name(rainfall[i].month);
cout << " | ";
}
month_name( rainfall[i].month );
cout << endl
<< "\t-----+-----+-----+-----+-----+-----+-----+"
<< "-----+-----+-----+-----+----"<< endl;

cout << "average\t";


for ( i = 0; i < 11; i++ )
{
cout.width(4);
cout << rainfall[i].rain_fall << " |";
}
cout.width(4);
cout << rainfall[i].rain_fall << endl;
cout << "actual\t";
for ( i = 0; i < 11; i++ )

8
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

{
cout.width(4);
cout << rainfall[i].avg_rain_fall << " |";
}
cout.width(4);
cout << rainfall[i].avg_rain_fall << endl;

cout << "diffs\t";


for ( i = 0; i < 11; i++ )
{
cout.width(4);
cout << rainfall[i].rain_fall - rainfall[i].avg_rain_fall
<< " |";
}
cout.width(4);
cout << rainfall[i].rain_fall - rainfall[i].avg_rain_fall
<< endl;

cout << "P)rev yr";


for ( i = 0; i < current_month; i++)
cout << " |";
for ( i = current_month; i < 11; i++)
cout << " P |" ;
cout << " P" << endl << endl;
}

void month_name( int month )


{
switch (month)

9
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

{
case 0: cout << "Jan";
break;
case 1: cout << "Feb";
break;
case 2: cout << "Mar";
break;
case 3: cout << "Apr";
break;
case 4: cout << "May";
break;
case 5: cout << "Jun";
break;
case 6: cout << "Jul";
break;
case 7: cout << "Aug";
break;
case 8: cout << "Sep";
break;
case 9: cout << "Oct";
break;
case 10: cout << "Nov";
break;
case 11: cout << "Dec";
break;
default: cout << "NO SUCH MONTH " << month << endl;
exit(1);
}
}

10
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

void full_month_name( int month )


{
switch (month)
{
case 0: cout << "January "; //strings padded to 9 spaces
break; //for output formatting
case 1: cout << "February";
break;
case 2: cout << "March " ;
break;
case 3: cout << "April ";
break;
case 4: cout << "May ";
break;
case 5: cout << "June ";
break;
case 6: cout << "July ";
break;
case 7: cout << "August ";
break;
case 8: cout << "September";
break;
case 9: cout << "October ";
break;
case 10: cout << "November";
break;
case 11: cout << "December";
break;

11
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

default: cout << "NO SUCH MONTH " << month << endl;
exit(1);
}
}

//file: Ch7Prg1.bargraph.cpp
//
//to print two bargraphs for each month, showing average and
//actual rainfall each month.

#include <iostream>

struct monthly_rain
{
int month;
double rain_fall;
double avg_rain_fall;
};

void full_month_name( int );


void month_name( int );

//outputs x asterisks, no <cr>


void bargraph( double x )
{
using namespace std;
cout << " ";
for (int i = 0; i < x*10; i++)

12
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

cout << '*';


}

//output scale followed by <cr>


//
void output_scale()
{
using namespace std;
cout << "\nRainfall ";
for ( int i = 0; i < 14; i++)
{
double j = i/2.0;
cout.setf(ios::showpoint);
cout.setf(ios::fixed);
cout.precision(1);
cout << j << " ";
}
cout << endl << "\t ";
for (i = 0; i < 14; i++)
cout << "|****";
cout << endl;
}

void output_bargraph( monthly_rain rainfall[],


int current_month )
{
using namespace std;
output_scale();
for ( int i = 0; i < 12; i++ )

13
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

{
full_month_name( i );
if ( i >= current_month )
cout << "(Previous year)";
cout << "\naverage\t ";
bargraph( rainfall[i].avg_rain_fall );
cout << "\nactual\t ";
bargraph( rainfall[i].rain_fall );
cout << endl;

if ( 5 == i )
{
output_scale();
}
}
output_scale();
}

The rainfall averages in the data come from The World Almanac and Book of Facts 1993,
published by the World Almanac. (C) Phaos Books,1992. The rainfall numbers presented
here are made-up.

This is the 'data file' used to test this program:

$cat data
3.7 3.6 5.1 3.8 4.2 4.2 4.4 4.8 4.0 3.3 3.3 3.5
4
4.3 3.2 5.5 5.1 4.0 2.2 2.0 1.1 4.1 3.3 3.9 3.7
t
y
3.7 3.6 5.1 3.8 4.2 4.2 4.4 4.8 4.0 3.3 3.3 3.5

14
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Savitch Instructor’s Resource Guide
Problem Solving w/ C++, 9e Chapter 7

4
4.3 3.2 5.5 5.1 4.0 2.2 2.0 1.1 4.1 3.3 3.9 3.7
g
y
3.7 3.6 5.1 3.8 4.2 4.2 4.4 4.8 4.0 3.3 3.3 3.5
4
4.3 3.2 5.5 5.1 4.0 2.2 2.0 1.1 4.1 3.3 3.9 3.7
h
n

The command used to run the program and the output is:
17:19:43:~/AW$ a.out < data > ch7prb2.out

There follows edited output obtained from this run. I have 'redacted' the input and the
output where either is identical for all three runs and after it has been seen.

$cat ch7prb2.out
Monthly rainfall input routine.

Please enter the average rainfall for each month


Average rainfall:
For month January Avg Rainfall: 3.7
For month February Avg Rainfall: 3.6
For month March Avg Rainfall: 5.1
For month April Avg Rainfall: 3.8
For month May Avg Rainfall: 4.2
For month June Avg Rainfall: 4.2
For month July Avg Rainfall: 4.4
For month August Avg Rainfall: 4.8
For month September Avg Rainfall: 4
For month October Avg Rainfall: 3.3
For month November Avg Rainfall: 3.3
For month December Avg Rainfall: 3.5

The actual rainfall:

15
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Random documents with unrelated
content Scribd suggests to you:
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund
from the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law
in the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name associated
with the work. You can easily comply with the terms of this
agreement by keeping this work in the same format with its attached
full Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears,
or with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning
of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the Project
Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
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 perfect destination for book lovers and
knowledge seekers. We believe that every book holds a new world,
offering opportunities for learning, discovery, and personal growth.
That’s why we are dedicated to bringing you a diverse collection of
books, ranging from classic literature and specialized publications to
self-development guides and children's books.

More than just a book-buying platform, we strive to be a bridge


connecting you with timeless cultural and intellectual values. With an
elegant, user-friendly interface and a smart search system, you can
quickly find the books that best suit your interests. Additionally,
our special promotions and home delivery services help you save time
and fully enjoy the joy of reading.

Join us on a journey of knowledge exploration, passion nurturing, and


personal growth every day!

testbankfan.com

You might also like