Skip to content

Instantly share code, notes, and snippets.

Rich Kraemer rwk130

View GitHub Profile
@rwk130
rwk130 / CashRegister.aspx
Created Sep 26, 2017
Crazy Cash Register, written in .Net C#. Takes the amount owed and the amount paid and returns how to give back the change in the least amount of coins and bills; UNLESS the amount owed is divisible by 3, in which case the change is given in random bills and coins.
View CashRegister.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CashRegister.aspx.cs" Inherits="CashRegister" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Creative Cash Draw Solutions - Register</title>
<style>
h1 { text-align: center; }
h3 { font-size: small; text-align: justify; }
@rwk130
rwk130 / bowling.css
Last active Sep 26, 2017
A simple webpage with CSS formatting and a JavaScript codebase that keeps the bowling score of 1 player.
View bowling.css
body {
}
.Score { width: 100%; text-align: center; height: 25%; border-bottom: 4px dotted Black;
position: relative; top: 0; left: 0; padding: 10px 0 25px 0; }
.Card { border: 2px solid Black; border-collapse: collapse; }
.Card th { border: 1px solid Black; }
You can’t perform that action at this time.