Computer Programming
Computer Programming
Start
Can’t go to clinic
because of some task
Try to contact
doctortTSG
End
Steps:
Start.
Can’t go to clinic because of some important work.
Call doctor.
If you are able to make contact then request to change visit day for
appointment.
Otherwise book appointment for another day.
End.
#include <iostream>
using namespace std;
int main()
{
cout <<" C++\n";
cout <<" programming is not\n";
cout <<" that though";
return 0;
}
3.Write a program yourself using escape sequences to print
the triangle on screen.
#include<iostream>
using namespace std;
int main()
{
cout<<" /\\\n";
cout<<" / \\\n";
cout<<" / \\\n";
cout<<" / \\\n";
cout<<" --------";
return 0;
}
#include<iostream>
using namespace std;
int main()
{
cout<<"********\n";
cout<<"* *\n";
cout<<"* *\n";
cout<<"* *\n";
cout<<"* *\n";
cout<<"* *\n";
cout<<"* *\n";
cout<<"********";
return 0;
}
#include <iostream>
using namespace std;
int main()
{
cout <<" ********\n";
cout <<" *\t*\n";
cout <<" *\t*\n";
cout <<" ********\n";
return 0;
}