Skip to content

Instantly share code, notes, and snippets.

View Sun-Wukong's full-sized avatar

Jason Sun-Wukong

  • Dirty Jersey
View GitHub Profile
@Sun-Wukong
Sun-Wukong / gist:30209f0fdfb9cd773cd5
Last active December 2, 2015 03:07 — forked from CharlesBdope/gist:a05b891acf92b700b43e
Stuffy, stuff for c++ class
// Example program
#include <iostream>
#include <iomanip>
using namespace std;
int main ()
{
const double COST_PER_CUBIC_FOOT = 0.23;
const double CHARGE_PER_CUBIC_FOOT = 0.5;
print ( "Welcome, to the World of Games and I'm the god of this world people call Kami, other knows me as the Narrator." )
print ( "Oh, great adventure could I ask you your name? (Insert Name)" )
myName = raw_input()
if myName == 'Kami':
print ( "Hey my name is Kami you can't use this name!" ) # when using python, make sure to use 4 spaces
else: #colon was missing
print ( "Uhh, nice name I guess. Well let's get the show on the road, oh yeah can I ask you how old you are? (Insert Age)" )