Skip to main content

Posts

Android Login View with Video Download Full Source Code
Recent posts

DAY FINDER

ENTER THE DATE AND SEARCH THE DAY(PAST AND FUTURER) #include < stdio.h > #include < conio.h >   void main() {     int sd, sm, sy, day, r, y, i, l = 0, sel = 0;     clrscr();     printf("first you diside are you find past are future\n");     printf("press 1 to past\n");     printf("press 2 to future\n");     scanf("%d", & sel);     printf("enter searching date");     scanf("%d%d%d", & sd, & sm, & sy);     if (sel == 1) {       y = 2011 - sy;       for (i = sy; i <= 2011; i++)       {         if (i % 4 != 0)           continue;         else           l++;       }     } else {       y = sy - 2011;       for (i = 2011; i <=...

DAY COUNTER

WRITE A PROGRAM TO COUNT YOUR DATE MONTH YEAR IN CURRENT TIME #include<stdio.h> #include<conio.h> void main() { int yy,mm,dd,y,m,d,day,month,year; clrscr(); printf("enter actual date:(dd/mm/yyyy):"); scanf("%d%d%d",&dd,&mm,&yy); printf("enter your date of birth:(dd/mm/yyyy);"); scanf("%d%d%d",&d,&m,&y); if(dd<d) { day=(dd+30)-d; mm=mm-1; } else { day=dd-d; } if(mm<m) { month=(mm+12)-m; yy=yy-1; } else { month=mm-m; } year=yy-y; printf("now you are:%d year%d month%d day:",year,month,day); getch(); }

Kaun Banega Crorepati in c language

                 Welcome to Kaun Banega Crorepati # include <stdio.h> # include <conio.h> #include <graphics.h> #include <stdlib.h> #include"line2.h" int i; char y; void end() { printf("\n You Entered y \n"); printf("\n The program is ending !\n"); printf("\n Thank you for playing\n"); printf("\n Press any key to exit\n"); getch();  } void play() { void q2(); void sound(); printf("\n Your first question is-\n"); printf("\n Which is the capital of Maharashtra?\n"); printf("\n 1) Delhi" "\t" " 2) Mumbai\n"); printf("\n 3) Ranchi" "\t" " 4) Goa \n"); scanf("%d",&i); clrscr(); jeevan(); if(i==2) { printf("\n You win Rs 1000\n"); printf("\n Pres Any key to continue\n"); getch(); printf("\n Do you want to exit? If yes then press y else press other key .\n");...

COLOR FULL BACKGROUND IN C

COLOR  FULL BACKGROUND IN "C"  LANGUAGE #include<stdio.h> #include<graphics.h> #include<conio.h> void main() { int c=1,i; int gd,gm;  gd = DETECT,gm; initgraph(&gd, &gm,"c:..//bgi"); for(i=1;i<=13;i++) { setbkcolor(c); c++; delay(1000); gotoxy(38,15); setcolor(c+1); printf("jeevan"); } getch(); }                                                                                                                                                                     ...