Guest User

Untitled

a guest
Mar 13th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. //functions.h
  2.  
  3. float x1;
  4. float y1;
  5. float z1;
  6.  
  7. float x2;
  8. float y2;
  9. float z2;
  10.  
  11. float ThreeDDistance(...);
  12. void Calculate();
  13. void GetInput();
  14.  
  15.  
  16.  
  17.  
  18. //functions.cpp
  19.  
  20. float ThreeDDistance(...)
  21. {
  22.     ...
  23. }
  24.  
  25. void Calculate()
  26. {
  27.     do{
  28.         GetInput();
  29.     }while(...);
  30. }
  31.  
  32. void GetInput()
  33. {
  34.     cout << "enter blah blah";
  35.     cin >> x1 >> y1 >> z1;
  36.     cout << "enter blah blah";
  37.     cin >> x2 >> y2 >> z2;
  38.  
  39. }
Add Comment
Please, Sign In to add comment