Snake and Ladder

Please suggest a snake and ladder codes. Thank You !
Last edited on
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
#include <string>

using namespace std;

int main()
{
   string things[2] = {"Snake", "Ladder"};

   for (int i=0; i<2; i++)
   {
      cout << things[i] << endl;
   }
   return 0;
}
Topic archived. No new replies allowed.