Code Examples

 

LISP from December 2nd class

   Examples of functions

   What will be returned by each of the following

 

Prolog

    Solution to third Prolog programming assignment

 

FORTRAN

    program 1

    program 2             

    program 3

 

Pascal

   program 2 Version 1

   program 2 Version 2

   program 2  Version 3

   Snippets  transfer in  transfer out

          transfers 2nd out   test lcv

                 

 

Ada

   Pre_Poker5  (.adb version)    shown in class 10/28/04   Pre_poker5  (.txt version)

   book homework

   book homework embellished

   testing various types as loop  control variables in a FOR loop

   famoushello world

   miscellaneous fiddles   c   d   e  f

   October 19th programs  - the “inclassDemo” series have minor differences between them which are commented

inclassDemo     inclassDemo2      inclassDemo3         inclassDemo4         Oct19