September 2001
Beginner
970 pages
23h 20m
English
Find out what your system does with integer overflow, floating-point overflow, and floating-point underflow by using the experimental approach; that is, write programs having these problems.
Write a program that asks you to enter an ASCII code value, such as 66, and then prints the character having that ASCII code.
Write a program that sounds an alert and then prints the following text:
Startled by the sudden sound, Sally shouted, "By the Great Pumpkin, what was that!"
Write a program that reads in a floating-point number and prints it first in decimal-point notation and then in exponential notation. Have the output use the following format (the actual number of digits displayed for the exponent depends upon the system):
Read now
Unlock full access