You are on page 1of 6

TUTORIAL

CHAPTER 4
INPUT/OUTPUT OPTIONS
Input Command

The volume of a cone is given as:


Prompt the user to enter the area of the base
and the height of the cone (Figure 1). Calculate
the volume of the cone.

Figure 1. Volume of a cone


disp Command
fprintf command
Problems
Combining the
input, disp,
and fprintf
Commands
ginput command

You might also like