Program of singly link list in c++ with insertion ,deletion and traversing optionsFull description
CS6612, IT6612 COMPILER LAB MANUAL,
SnakesDescrição completa
Deskripsi lengkap
C Program To minimize the given Finite AutomataFull description
Full description
s10 Scaffolds and Ladders
Scholastic Word LaddersFull description
Full description
Descripción: Scholastic Word Ladders
An awareness poster about some of the common snake species found in the central Indian region made by Aniruddha Dhamorikar and me.
Scolioza
Full description
C PROGRAM of Machine Design
/* sankes_ladder.cpp: This is sankes_ladder Game program. This program will display sankes and ladder Board. It will take two player names. Gives you winner of the Game by using Random function. Date : 18/04/2009. Author: Afiz ****** */ #include // including header files. using namespace std; class player // player class { public: // class members declaration. char name[50]; player(); // constructor declaration. int currentposition; int previousposition; int Rollingdie(); // Rollingdie function. }; player :: player() // constructor implementation. { currentposition=1; // initialization of variables. previousposition=1; } int player :: Rollingdie() // Rollingdie function. { return (rand()%(6)+1); // using Random function. } class board // board class. { int Board[10][10]; // board array public: board(); // board constructor. int nextposition(int, int) ; // declaration of nextpostion function. void display(); // display function. }; board:: board() // creating board { int k=1; for(int i=0;i<10;i++) for(int j=0;j<10;j++) Board[i][j]=k++; // assiging values to board } int board :: nextposition(int a, int b) // implemenation of nextposition function. {
switch(a+b) {
// creting ladders. case 8: //cout << "Great You Got Ladder\n"; return 31; break;
case 15: return 97; break; case 42: return 81; break; case 66: return 87; break; // creating snakes case 24: return 1;/* cout << "Wow.. You Got Snake\n";*/ break;
}
case 55: return 13;break; case 71: return 29; break; case 88: return 54; break; case 99: return 6; break; default: return (a+b); break;