### Example Ore Programs

Hey, there! Here's a few simple Ore programs!

Hello World!

The default bootstrap for both the PC and PSP runtime enviornment.

What's your name?

Greatest common divisor using Euclid's algorithm.

If you'd like, you can make some requests!

Hello World!

The default bootstrap for both the PC and PSP runtime enviornment.

What's your name?

Greatest common divisor using Euclid's algorithm.

- Code:
`# This program asks for two numbers. It gives outputs the greatest common divisor`

# December 31st, 2010

exe:3.1.n.EuclidIsMyHomeboy

echo:What is the first number?

%var a inp

echo:What is the second number?

%var b inp

%lbl 1

%if a = 0 then

%goto 2

%end

%if a > b then

%a - b

%goto 1

%end

%if b > a then

%b - a

%goto 1

%end

%lbl 2

echo:The greatest common greatest common divisor, based

echo:on Euclid's algorithm is:

%var b out

exe:end

If you'd like, you can make some requests!