This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)" ) |