answersLogoWhite

0

Well if you want to create a menu, you may use CASE.

This is the program

program Menu;

var menu:integer;

begin

writeln('Menu');

writeln('1. XXXXXXX');

writeln('2. XXXXXXX'); {unlimited option you want}

writeln; {just to make it pretty :)}

write('Mode you want to choose');

readln(menu);

CASE menu OF

1: {program if I choose 1 from the menu};

2: {program if I choose 2 from the menu};

end; {end of case}

readln;

end.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Code for creating pascal's triangle in C programming language?

code for creating pascal's triangle in C programming language?


What are the two steps in creating a menu?

what is the source code for browse in vb.net


How do you run VB in Microsoft Excel?

You can do it by creating macros and then editing the macros. The macros or set of code can be applied to a button. It will depend on the version of Excel you have, but you can usually start creating macros or writing code through the Tools menu.


What were two mathematicians that blaise pascal was in contact with?

Pierre Gassendi and Clyde Mydorge were two mathematicians that Blaise Pascal stayed in contact with. Their services were especially important when Pascal was in the process of creating the adding machine.


How do you get the secret code menu on need for speed undercover for ps2?

there is no secret code menu for the PS2 version.


Where is the ATV off road fury cheat code menu?

The menu for cheat code entery on ATV Off Road Furry 2 is in the options menu on the main title. (main menu.)


Make a pascal using c plus plus?

Please make your question more clear. Qhat do you want to do? Rewrite the programming language Pascal? Convert c++ code to Pascal? Create a Pascal triangle? Make a baby son that's called Pascal? (btw, that last thing has to be done in hardware)


What is a context menu?

A context menu is a menu on a user interface (typically a GUI), such as the right-click function in computing. The context menu offers a range of options, such as creating folders, for example.


Where is cheat code menu in NFS carbon ps2?

just type it on the main menu


How do you get to the chaets menu in nfs carbon?

There isn't one... Go to the main menu (the one after the title screen) enter the code at the main menu.


Has the UK version of svr 2008 has code menu?

no no no


What is postal code of arifwala?

menu ki pta