Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int main()
- {
- int master;
- int first;
- int centre;
- int last;
- int extra;
- {
- cout<<"\t\tUINGIZWAJI WA NAMBA KUU ZA UCHAKATAJI\n""\t\t\t:INGIZA NAMBA SASA:"<<endl;
- cin >> master;
- }
- {
- first = 1 * 1;
- centre = 1 * 2;
- last = 1 * 3;
- do {
- cout<<"FAMILY.\t"<<first<<"\tFRIEND..\t"<<centre<<"\tOTHER...\t"<<last<<endl;
- first ++;
- centre ++;
- last ++;
- }
- while (first <master);
- while (centre <master);
- while (last <master);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement