fork download
  1. //Ivy Whitney CSC 5 Chp 2, p 83 #14
  2.  
  3. /**************************************************************
  4.  *
  5.  * Display Personal Information
  6.  * ____________________________________________________________
  7.  *
  8.  *This program displays personal information
  9.  *
  10.  * INPUT
  11.  *
  12.  * None
  13.  *
  14.  * OUTPUT
  15.  *
  16.  * Name
  17.  * Address including city, state, ZIP
  18.  * Telephone number
  19.  * College major
  20.  *
  21.  **************************************************************/
  22. #include <iostream>
  23. using namespace std;
  24.  
  25. int main ()
  26. {
  27. // Output Personal Information
  28. cout << "Alvin Whitney" << endl
  29. << "Riverside, CA 92503" << endl
  30. << "909-358-0418" << endl
  31. << "Cybersecurity" << endl;
  32. return 0;
  33. }
Success #stdin #stdout 0.01s 5308KB
stdin
Standard input is empty
stdout
Alvin Whitney
Riverside, CA 92503
909-358-0418
Cybersecurity