home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / OTHERUTI / TCPP30-3.ZIP / EXAMPLES.ZIP / INTRO5.CPP < prev    next >
C/C++ Source or Header  |  1992-02-18  |  207b  |  14 lines

  1. // INTRO5.CPP -- Example from chapter 3 "Introduction to C++
  2.  
  3. #include <iostream.h>
  4.  
  5. int main()
  6. {
  7.   int num = 3, denom = 4;
  8.   float value;
  9.   value = num / denom;
  10.   cout << value;
  11.  
  12.   return 0;
  13. }
  14.