Posts

Showing posts with the label GAME parking management system

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...

print Matrix in C language with using macro , source code in C language (Program 14).

/*MADE BY ANMOL MAIN STUDENT - B.TECH CSE  PUNJABI UNIVERSITY HINDUSTAN CODING Program 14 */ #include   <stdio.h> #define  M  3 #define  N  3 int   main () {      int  i, j, a;      int   arr [M][N];      for  (i =  0 ; i < M; i++)     {          for  (j =  0 ; j < N; j++)         {              printf ( "ENTER THE A %d %d ELEMENT : " , i +  1 , j +  1 );              scanf ( "%d"  &  arr [i][j]);         }  ...

Road toll tax management system in c or Parking Management system in C language with Admin PASSWORD protection security, Source code in C language (PROGRAM 13)

/*MADE BY ANMOL MAIN STUDENT - B.TECH CSE  PUNJABI UNIVERSITY HINDUSTAN CODING Program 13 */ #include <stdio.h> #include <dos.h> #include <windows.h> int light(); int heavy(); int two(); int delete (); int detail(); int lv = 0, tv = 0, hv = 0, amount = 0, count = 0; int a, pin, x, y,ex; char text[] = "| XYZ TOLL SERVICE               |\n|                                |\n| PRESS 1 FOR LIGHT VEHICLE      |\n| PRESS 2 FOR HEAVY VEHICLE      |\n| PRESS 3 FOR TWO WHEELER        |\n| PRESS 4 TO DELETE DATA         |\n| PRESS 5 TO CHECK CURRENT STATUS|\n| PRESS 6 TO EXIT                |\n"; int main() { end: str:   printf("\n_________________________________\n");   for (x = 0; text[x] != 0; x++)   {     printf("%...