Вопрос задан 26.02.2019 в 09:38. Предмет Информатика. Спрашивает Михалевич Аліна.

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

0 0
Перейти к ответам

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

Внимание! Ответы на вопросы дают живые люди. Они могут содержать ошибочную информацию, заблуждения, а также ответы могут быть сгенерированы нейросетями. Будьте внимательны. Если вы уверены, что ответ неверный, нажмите кнопку "Пожаловаться" под ответом.
Отвечает Смирнов Евгений.
Program titul;
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.
0 0
Отвечает нейросеть ChatGpt. Будьте внимательны, ответы нейросети могут содержать ошибочные или выдуманные данные.

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.

0 0

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

Последние заданные вопросы в категории Информатика

Задать вопрос