Skip to content

Instantly share code, notes, and snippets.

@tolmicl
tolmicl / p1010test.cs
Created February 4, 2017 05:38
p1010test.cs
// TicTacToe Test program
using System;
class p1010test
{
static void Main(string[] args)
{
p1010 game = new p1010();
@tolmicl
tolmicl / p1010.cs
Created February 4, 2017 05:37
p1010
// TicTacToe program
using System;
class p1010
{
private int[,] board = new int[3, 3];
public p1010() //constructor
{
// Problem 8.12 Duplicate Elimination
// Use one-dimensional array that inputs five numbers
using System;
class p812
{
static void Main()
{
int[] numbers = new int[5];
@tolmicl
tolmicl / gist:23104cbb24a4ad391f8553a2d77710b1
Last active January 21, 2017 07:28
Computer-Assisted Instruction
using System;
namespace p739
{
class p739
{
static void Main(string[] args)
{
while (true)
@tolmicl
tolmicl / p331.cs
Last active January 14, 2017 05:41
using System;
class p331
{
static void Main(string[] args)
{
double height;
double weight;
double BMI;