
Как сделать титульный лист в паскаль? Не сложный желательно, ибо я в 8-9 классе


Ответы на вопрос

uses crt;
var x,y:byte;
s:string;
begin
clrscr;
s:='';
for x:=1 to 80 do {смотря сколько столбцов на экране}
s:=s+'#'; {любой символ для рамки}
write(s);
gotoxy(1,24); {самая нижняя строка, первый столбец}
write(s);
for y:=1 to 24 do
begin
gotoxy(1,y);
write('#');
end;
for y:=1 to 24 do
begin
gotoxy(80,y);
write('#');
end;
GotoXY(30,11);
write('My own program on TP7');
GotoXY(28,13);
write('Press any key to continue');
readkey;
end.



Creating a Title Page in Pascal
To create a title page in Pascal, you can use the `writeln` function to display the desired text on the screen. Here's an example of how you can create a simple title page in Pascal:
```pascal program TitlePage;
begin writeln('*'); writeln('* Title Page *'); writeln('*'); writeln; writeln('Name: [Your Name]'); writeln('Class: [Your Class]'); writeln('Date: [Current Date]'); writeln; writeln('*'); writeln('* End of Title Page *'); writeln('*'); end. ```
In this example, the `writeln` function is used to print each line of the title page. You can customize the content of the title page by modifying the text within the `writeln` statements. Replace `[Your Name]`, `[Your Class]`, and `[Current Date]` with your own information.
When you run this program, it will display the title page on the screen, including your name, class, and the current date.
Remember to save the file with a `.pas` extension (e.g., `titlepage.pas`) and compile and run it using a Pascal compiler.
I hope this helps! Let me know if you have any further questions.


Топ вопросов за вчера в категории Информатика







Последние заданные вопросы в категории Информатика
-
Математика
-
Литература
-
Алгебра
-
Русский язык
-
Геометрия
-
Английский язык
-
Химия
-
Физика
-
Биология
-
Другие предметы
-
История
-
Обществознание
-
Окружающий мир
-
География
-
Українська мова
-
Информатика
-
Українська література
-
Қазақ тiлi
-
Экономика
-
Музыка
-
Право
-
Беларуская мова
-
Французский язык
-
Немецкий язык
-
МХК
-
ОБЖ
-
Психология
-
Физкультура и спорт
-
Астрономия
-
Кыргыз тили
-
Оʻzbek tili