Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PASCAL

pascal cheat sheett

program exEnumeration;
type
beverage = (coffee, tea, milk, water, coke, limejuice);

var
drink:beverage;

begin
   writeln('Which drink do you want?');
   drink := limejuice;
   
   writeln('You can drink ', drink);
end.
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #pascal #cheat #sheett
ADD COMMENT
Topic
Name
2+7 =