NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

// Example program
#include <iostream>
#include <string>

char sorg;
char dong;
char troy;
char yonk;
char roy;
char tar;
char rar;
char foy;

int main()
{
std::string name;
std::cout << "You are Odysseus and have just sieged Troy!n";
std::cout << "Do you want to stay or leave?n";
std::cout << "1) Stay in Troyn" << "2) Leave Troy and head homen";

std::cin >> sorg;

if (sorg == '1')
{
std::cout << "You stay and feast in Troy, longing to see your family so wonder to stay or leave.n";
std::cout << "1) Do you want to stay in Troy?n" << "2) Or do you want to leave?n";
std::cin >> dong;
if (dong == '1')
{
std::cout << "You stay at Troy for another month, you really want to go home nown";
std::cout << "You can't decide whether to live in Troy or go homen";
std::cout << "1) Live in Troy till you die of agen" << "2) Go home to Ithacan";
std::cin >> troy;
if (troy == '1')
{
std::cout << "You live in Troy and die with your friends yet still you think of Ithaca every dayn";
}
else if (troy == '2')
{
std::cout << "You head home to Ithaca with your crew, some stay behind because you stayed in Troy for a long timen";
}
}
else if (dong == '2')
{
std::cout << "You sail for 1 month and you hit landn";
std::cout << "You look around for more supplies to stock up your shipsn";
}
}
else if (sorg == '2')
{
std::cout << "You head back to Ithaca with your crew, there are 150 of you spread out between 10 shipsn";
std::cout << "You encounter an island soon as your low on suppliesn";
std::cout << "1) Go on the island and look for suppliesn" << "2) Continue sailing and ration your foodn";
std::cin >> roy;
if (roy == '1')
{
std::cout << "You look for supplies and find some in a caven";
std::cout << "Do you want to stay in the cave and wait to get your gift or leave?n";
std::cout << "1) Stay in the caven" << "2) Go back to the ships with your foodn";
std::cin >> tar;
if (tar == '1')
{
std::cout << "You decide to wait and you hear loud thumping coming towards youn";
std::cout << "A one eyed creature walks in the cave and shoves a rock in front of the doorn";
std::cout << "As he closes the door he looks at you and your crew of twentyn";
std::cout << "What do you say?n";
std::cout << "1) Where is are gift foul creature!!n" << "2) Hello, we are from far lands and we would like our gift and to be on our wayn" "3) Hello, we where just on our way now if you could just open the doorn";
std::cin >> rar;
if (rar == '1')
{
std::cout << "The cyclops yells and kills half of the 30 men you brought with you";
std::cout << "You hide from the cyclops but he can find youn";
std::cout << "You yell to the cyclopsn";
std::cout << "1) You stupid beast you will burn in hades for this!n" << "2) I'm sorry you yell as you beg for your lifen";
std::cin >> foy;
if (foy == '1')
{
std::cout << "The cyclops kills you where you stand";
}
}
else if (rar == '2')
{
std::cout << "The cyclops exclaims 'Gift? GIFT! You stole my food and expect a gift?'";
}
else if (rar == '3')
{
std::cout << "The cyclops says 'But you try to steal my food? You are thieves and need to be punished";
}
}

}
}

}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.