#include <iostream.h>
main() {
int result, height = 11, width = 9;
int length = 40;
result = height * width * length;
cout << "The volume of the box car is"
<< result << endl;
}
char A single character
short A small integer (two bytes)
int Integer of machine's word size
long Large integer (four bytes)
float Floating-point number
double Double-precision floating point number
char * A string (array of characters; array = pointer)
void Typeless (typically, used to declare functions as procedures)
type [] An array (= a pointer)
Last modified at 8/5/97; 1:33:39 PM
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | Papers | CS 2390 Spring '97 Home Page | STABLE | MMC-CaMILE