Advertisement
johnsubira

random

Feb 16th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <ctime>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int master;
  9. int first;
  10. int centre;
  11. int last;
  12. int extra;
  13.  
  14. {
  15. cout<<"\t\tUINGIZWAJI WA NAMBA KUU ZA UCHAKATAJI\n""\t\t\t:INGIZA NAMBA SASA:"<<endl;
  16. cin >> master;
  17.  
  18. }
  19.  
  20. {
  21.  
  22. first = 1 * 1;
  23. centre = 1 * 2;
  24. last = 1 * 3;
  25.  
  26. do {
  27.  
  28. cout<<"FAMILY.\t"<<first<<"\tFRIEND..\t"<<centre<<"\tOTHER...\t"<<last<<endl;
  29. first ++;
  30. centre ++;
  31. last ++;
  32.  
  33.  
  34. }
  35. while (first <master);
  36. while (centre <master);
  37. while (last <master);
  38. }
  39.  
  40.  
  41.  
  42.  
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement