Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Original

By: NewbProgrammer on Dec 17th, 2012  |  syntax: C++  |  size: 0.27 KB  |  views: 3  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Division CreateCorporateFile(Division)
  2. {
  3.      Division div = new Division;
  4.          
  5.      cout<<"Enter the name of the division: ";
  6.      cin>>div.divName;
  7.      cout<<"Enter in the sales for quarter "<<(div.sales + 1)<<": ";
  8.      cin>>div.sales;
  9.      
  10.      return(div);
  11. };