Posts

Showing posts with the label hand cricket

Recipie book in c language with text animiations - Source code ( Program - 18 )

 /*Made by Anmol main Student - B.tech  CSE Punjabi university*/ #include <stdio.h> #include <conio.h> #include <dos.h> #include<windows.h> int i, j; char text[] = "| MAIN MENU:          |\n|_____________________|\n|_____________________|\n| achari mutton       |\n| bhatura             |\n| black dal           |\n| black eyes beans    |\n| corn pakoda         |\n|"; char text1[] = "\n=> Wash and cut the mutton into 11/2 cubes.\n=> Take off and cut the onions.\n=> Cut the tomatoes.\n=> Roast the whole spices separately and grind everything coarsely.\n=> Heat up oil in a thick-bottomed pot to smoking point, cool and again heat up the oil and stir fry the onions till brown. Preparation Time Serves 45 minutes 6 Punjabi Recipes 5\n=> Mix in the cut ginger-garlic.\n=> Mix well.\n=> Mix in coar...

Election management system source code in C language (program 17)

/*Made by Anmol main Student - b.tech CSE Punjabi university */ #include <stdio.h> #include<windows.h> #include<stdlib.h> int p1(); int p2(); int p3(); int p4(); int p5(); int p6(); int p7(); int p8(); int p9(); int p10(); int a, b, c, d, e, j, ii,jj,f,g,h,num,ps, count; int i = 0; int main() { big:     printf("_______________________________________________________");     printf ("\nBEFORE SETTTING THE NAMES OF PARTIES \nPLEASE COFIRM THAT YOU ARE ADMIN\n\nENTER ADMIN KEY NUMBER\n");     printf("_______________________________________________________\n");     scanf("%d",&ps);     printf("_______________________________________________________\n");     if (ps==1212)     {         system("CLS");         printf("\nADMIN CONFIRMED\n");         printf("number of parties : ");         scanf("%d", &num);     ...

star pattern to print right angled triangle in C language with user defined row and colums | (star pattern code 2) | (Program 16)

  /* Made by Anmol main student B.tech CSE Punjabi university Program 16 */ #include<stdio.h> int main() {int i,j,a,b;     printf("Enter the number of rows\n");     scanf("%d",&a);     printf("Enter the number of colums\n");     scanf("%d",&b);     for(i=0;i<a;i++)     { printf("\n");         for (j=0;j<b;j++)         {             if (i>=j)             {printf("* "); }             else             printf(" ");         }     } }

Hand cricket Game in C language - source code ( Program 15)

/* Made by Anmol main student B.tech CSE  Punjabi university   Program 15 */ #include <stdio.h> #include <windows.h> #include <conio.h> #include <stdlib.h> #include <time.h> #include <dos.h> #define N 20 int main() {     {          }     int x;     double y;     printf("_______________________________________");     char text1[] = "| WELCOME TO HAND CRICKET GAME         |";     char text2[] = "| MADE BY ANMOL MAIN                   |";     char text3[] = "| LETS GET STARTED                     |\n|______________________________________|\n";     char text4[] = "\nENTER PLAYER 1 NAME : ";       char str[N];     char str2[N];     char text6[] = "\n\nRULES OF THE GAME -:\nTwo...