Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

IIT: Make your own OS

Name: Anonymous 2009-02-02 19:35


print 'MATH OS'
print
while 1:
    print
    print'[a]dd'
    print'[s]ubtract'
    print's[h]utdown'
    print
    inp = raw_input('?')[0]
    if inp=='a':
        print input('?')+input('?')
    if inp=='s':
        print input('?')-input('?')
    if inp=='h':
        break

Name: Anonymous 2009-02-07 8:50

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ENTERPRISEOS
{
    class Paula
    {
        static void Main(string[] args)
        {
            while (Console.In.Peek() != 'q')
            {
                Console.In.ReadLine();
                Console.Out.WriteLine("Brillant!");
            }
        }
    }

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List