Walter Savitch ,julia Lobur

Self-test Exercises

Introduction To Computers And C++ Programming

7

9780321531346

27

Suppose you write a program that is supposed to compute the interest on

a bank account at a bank that computes interest on a daily basis, and suppose you incorrectly write your program so that it computes interest on an annual basis. What kind of program error is this?

Consider the given data:

The kind of program error is logical error.