Displaying Source Code(s)
|
|
Numerology Program - This is the program that tells you the
lucky number of your name.
--------------------------------------------------------------------------------
Description : This is the program that tells you the lucky
number of your name.An important point For giving your name is -
Do not give any spaces or any other special characters to your
name.
//Program creator :R.velmurugan
//Qualification :I MCA
/*Note:
This is the program that tells you the lucky number of your
name.An
important point For giving your name is Do not give any spaces
or any
other special characters to your name.*/
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<process.h>
void main()
{
int a=0;
int i=0,b,n,s=0,z=0,r,k=1;
char name[30],ch,ch1;
int gd=0,gm,error;
initgraph(&gd,&gm,"c:\turboc3\BGI ");
setbkcolor(3);
settextstyle(4,0,10);
setcolor(5);
outtextxy(1,1,"Numerology");
settextstyle(7,0,1);
setcolor(k+1);
outtextxy(300,400,"Press any Key to continuee.....");
getch();
clearviewport();
vel:
settextstyle(1,0,1);
fflush(stdin);
setcolor(k+1);
setbkcolor(k);
rectangle(1,1,639,479);
rectangle(3,3,637,477);
ellipse(350,36,0,360,80,30);
ellipse(353,39,0,360,80,30);
setcolor(k+1);
outtextxy(280,30,"NUMEROLOGY");
gotoxy(2,2);
i=0;
printf("Enter Your Name : ");
rectangle(10,36,140,75);
rectangle(10,36,138,73);
gotoxy(3,4);
gets(name);
clearviewport();
ellipse(350,36,0,360,80,30);
ellipse(353,39,0,360,80,30);
setcolor(k+1);
outtextxy(280,30,"NUMEROLOGY");
while(name[i]!='
|
|
|