English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

#include
using namespace std;
#include
#include
void gotoxy(int, int); // prototype
void clrscr(); // prototype
int main()
{
// write text in 4 corners of the screen
clrscr(); // function call
gotoxy(10,10); // function call
cout << "at 10,10";
gotoxy(10,20); // function call
cout << "at 10,20";
gotoxy(20,10); // function call
cout << "at 20,10";
gotoxy(20,20); // function call
cout << "at 20,20";
return 0;
}
// function definition --

2006-07-04 00:52:00 · answer #1 · answered by Joe_Young 6 · 0 0

fedest.com, questions and answers