SlideShare a Scribd company logo
1 of 15
Download to read offline
Information Technology
Project
C Programming
Submitted By
Harendra Singh Rawat
BCA 3rdYear
Dezyne E´cole College
www.dezyneecole.com
Acknowledgement
This application on “C Language, VB Programming” was developed at
Dezyne E’cole College.
During the making of this project I have learnt a lot and I thank my mentor
Mr.Tarun Sharmaforhelping us during the making of project.
I thank my college “Dezyne E’cole College” for having conducted this
“Identity”exhibition for helping us to bring out our skill.
With due Regards,
Harendra Singh Rawat
BCA 3rd Year
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST
YEAR
Dezyne E’cole College
www.dezyneecole.com
Table Printing
C Programming
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST
YEAR
Dezyne E’cole College
www.dezyneecole.com
#include<stdio.h>
#include<conio.h>
#include<dos.h>
void main()
{
int a=0,input=11;
int n=0,tmp=0,m=0,i;
char ch;
clrscr();
textcolor(12);
gotoxy(25,8);
cprintf("==============================
==========");
gotoxy(25,9);
cprintf("||");
gotoxy(25,10);
cprintf("||");
gotoxy(25,11);
cprintf("||");
gotoxy(25,12);
cprintf("||");
gotoxy(25,13);
cprintf("||");
gotoxy(25,14);
cprintf("||");
gotoxy(55,9);
cprintf(" ||");
gotoxy(55,10);
cprintf(" ||");
gotoxy(55,11);
cprintf(" ||");
gotoxy(55,12);
cprintf(" ||");
gotoxy(55,13);
cprintf(" ||");
Source Code
Table Printing
C Programming
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST
YEAR
Dezyne E’cole College
www.dezyneecole.com
gotoxy(55,14);
cprintf(" ||");
gotoxy(25,15);
cprintf("=============================
===========");
gotoxy(27,9);
printf(" Table Printing n");
gotoxy(27,12);
printf(" Enter num:: n");
gotoxy(41,12);
scanf("%d",&a);
if(a!=0)
{
clrscr();
textcolor(12);
gotoxy(25,8);
cprintf("=============================
===========");
gotoxy(25,9);
cprintf("||");
gotoxy(25,10);
cprintf("||");
gotoxy(25,11);
cprintf("||");
gotoxy(25,12);
cprintf("||");
gotoxy(25,13);
cprintf("||");
gotoxy(25,14);
cprintf("||");
gotoxy(25,15);
cprintf("||");
gotoxy(25,16);
cprintf("||");
gotoxy(25,17);
cprintf("||");
Table Printing
C Programming
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST
YEAR
Dezyne E’cole College
www.dezyneecole.com
gotoxy(25,18);
cprintf("||");
gotoxy(25,19);
cprintf("||");
gotoxy(25,20);
cprintf("||");
gotoxy(25,21);
cprintf("||");
gotoxy(55,9);
cprintf(" ||");
gotoxy(55,10);
cprintf(" ||");
gotoxy(55,11);
cprintf(" ||");
gotoxy(55,12);
cprintf(" ||");
gotoxy(55,13);
cprintf(" ||");
gotoxy(55,14);
cprintf(" ||");
gotoxy(55,15);
cprintf(" ||");
gotoxy(55,16);
cprintf(" ||");
gotoxy(55,17);
cprintf(" ||");
gotoxy(55,18);
cprintf(" ||");
gotoxy(55,19);
cprintf(" ||");
gotoxy(55,20);
cprintf(" ||");
gotoxy(55,21);
cprintf(" ||");
gotoxy(25,22);
cprintf("==============================
==========");
Table Printing
C Programming
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST
YEAR
Dezyne E’cole College
www.dezyneecole.com
textcolor(15);
gotoxy(27,9);
cprintf(" Table Printing n");
for(i=1;i<=10;i++)
{
n=i*a;
gotoxy(34,input);
input++;
cprintf("%d * %d = %dnnn",a,i,n);
}
}
textcolor(10);
gotoxy(34,40);
cprintf("Do you want to Continue(Y/N)");
if(getch()=='y')
{
main();
}
else
{
exit(0);
}
getch();
}
Table Printing
C Programming
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST
YEAR
Dezyne E’cole College
www.dezyneecole.com
void main()
{
char c,d;
clrscr();
printf("tt Enter a character::");
c=getche();
printf("nntt ASCII CODE is:::%d",c);
printf("tttttnn Do you want to
continue:nn press 1 else press 0");
d=getch();
if(d=='1')
{
main();
}
else
{
exit(0);
}
}
ASCII CALCULATOR
ARMSTRONG CALCULATOR
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST YEAR
Dezyne E’cole College
www.dezyneecole.com
while(t1>0)
{
c++;
t1=t1/10;
}
while(t>0)
{
m=t%10;
p=pow(m,c);
a=a+p;
t=t/10;
}
if(a==n)
{
printf("tt Number %d is a
Armstrong number",a);
}
else
{
printf("tt not Armstrong
number");
}
COLOR GRID PRINTER
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST YEAR
Dezyne E’cole College
www.dezyneecole.com
void main()
{
int i,c;
clrscr();
window(30,4,40,20);
for(i=1,c=1;i<=200;i++,c++)
{
if(i%20==0)
{
printf("n");
}
else
{
textbackground(c);
cprintf(" ");
}
if(c==7)
{
c=1;
}
}
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST YEAR
Dezyne E’cole College
www.dezyneecole.com
void main()
{
int n,j,a[20],i=0,m=0;
clrscr();
printf("please enter your decimal
number:::");
scanf("%d",&n);
while(n>0)
{
m=n%2;
a[i]=m;
n=n/2;
i++;
}
i--;
textcolor(4);
window(30,4,40,20);
for(j=i;j>=0;j--)
{
cprintf("%d",a[j]);
}
}
Decimal to Binary Calculator
PALINDROM CALCULATOR
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST YEAR
Dezyne E’cole College
www.dezyneecole.com
void main()
{
int n,p=0,t,m;
clrscr();
printf("ntt Enter a number::");
scanf("ntt%d",&n);
t=n;
while(t>0)
{
m=t%10;
p=p*10+m;
t=t/10;
}
if(p==n)
{
printf("tt Number %d is a
palindrom number",n);
}
else
{
printf("tt Not a palindrom
number");
}
getch();
}
POWER CALCULATOR
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST YEAR
Dezyne E’cole College
www.dezyneecole.com
void main()
{
int n,p,i;
long s;
clrscr();
gotoxy(10,2);
printf("number");
gotoxy(10,4);
scanf("%d",&n);
gotoxy(20,2);
printf("power");
gotoxy(20,4);
scanf("%d",&p);
s=1;
while(p>=1)
{
s=s*n;
p--;
}
gotoxy(15,6);
printf("%ld",s);
getch();
}
PRIME NUMBER CALCULATOR
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST YEAR
Dezyne E’cole College
www.dezyneecole.com
void main()
{
int c,i,n;
clrscr();
c=0;
printf("ntt Enter a number:::");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
if(n%i==0)
{
c++;
}
}
if(c==1||c==2)
{
printf("tt Number%d is a prime
number",n);
}
else
{
printf("tt Not prime number");
}
}
Text Printer
Harendra Singh Rawat
BECHALOR OF
COMPUTER
APPLICATIONS 1ST YEAR
Dezyne E’cole College
www.dezyneecole.com
void main()
{
char a[]="n C is one of the foundation
for modern n informationtechnology(IT).n More
than 90% of the programs running n on our desktops
from operation systems n and email client to web
browers and n games are written in C.";
int i,l;
clrscr();
l=strlen(a);
for(i=0;i<=l;i++)
{
delay(100);
printf("%c",a[i]);
}
}

More Related Content

Similar to Harendra Singh,BCA Third Year

Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College
Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole CollegeDinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College
Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole Collegedezyneecole
 
Bca 1st year C langauge .pdf
Bca 1st year C langauge .pdfBca 1st year C langauge .pdf
Bca 1st year C langauge .pdfRahul Saini
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third YearDezyneecole
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearDezyneecole
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearDezyneecole
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearDezyneecole
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Yeardezyneecole
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Yeardezyneecole
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Yeardezyneecole
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Yeardezyneecole
 
Shivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third YearShivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third YearDezyneecole
 
Amit Kumar Yadav , BCA Third Year
Amit Kumar Yadav ,  BCA Third YearAmit Kumar Yadav ,  BCA Third Year
Amit Kumar Yadav , BCA Third YearDezyneecole
 
C++17 not your father’s c++
C++17  not your father’s c++C++17  not your father’s c++
C++17 not your father’s c++Patrick Viafore
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDezyneecole
 
C program report tips
C program report tipsC program report tips
C program report tipsHarry Pott
 

Similar to Harendra Singh,BCA Third Year (20)

Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College
Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole CollegeDinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College
Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College
 
Bca 1st year C langauge .pdf
Bca 1st year C langauge .pdfBca 1st year C langauge .pdf
Bca 1st year C langauge .pdf
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third Year
 
Online exam
Online examOnline exam
Online exam
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third Year
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third Year
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
 
Shivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third YearShivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third Year
 
C lab excellent
C lab excellentC lab excellent
C lab excellent
 
C and Data Structures Lab Solutions
C and Data Structures Lab SolutionsC and Data Structures Lab Solutions
C and Data Structures Lab Solutions
 
C and Data Structures
C and Data Structures C and Data Structures
C and Data Structures
 
Amit Kumar Yadav , BCA Third Year
Amit Kumar Yadav ,  BCA Third YearAmit Kumar Yadav ,  BCA Third Year
Amit Kumar Yadav , BCA Third Year
 
C++17 not your father’s c++
C++17  not your father’s c++C++17  not your father’s c++
C++17 not your father’s c++
 
C faq pdf
C faq pdfC faq pdf
C faq pdf
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third Year
 
C program report tips
C program report tipsC program report tips
C program report tips
 

More from dezyneecole

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Yeardezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...dezyneecole
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...dezyneecole
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Yeardezyneecole
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)dezyneecole
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
 

More from dezyneecole (20)

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 

Recently uploaded (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 

Harendra Singh,BCA Third Year

  • 1. Information Technology Project C Programming Submitted By Harendra Singh Rawat BCA 3rdYear Dezyne E´cole College www.dezyneecole.com
  • 2. Acknowledgement This application on “C Language, VB Programming” was developed at Dezyne E’cole College. During the making of this project I have learnt a lot and I thank my mentor Mr.Tarun Sharmaforhelping us during the making of project. I thank my college “Dezyne E’cole College” for having conducted this “Identity”exhibition for helping us to bring out our skill. With due Regards, Harendra Singh Rawat BCA 3rd Year
  • 3. Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com Table Printing C Programming
  • 4. Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com #include<stdio.h> #include<conio.h> #include<dos.h> void main() { int a=0,input=11; int n=0,tmp=0,m=0,i; char ch; clrscr(); textcolor(12); gotoxy(25,8); cprintf("============================== =========="); gotoxy(25,9); cprintf("||"); gotoxy(25,10); cprintf("||"); gotoxy(25,11); cprintf("||"); gotoxy(25,12); cprintf("||"); gotoxy(25,13); cprintf("||"); gotoxy(25,14); cprintf("||"); gotoxy(55,9); cprintf(" ||"); gotoxy(55,10); cprintf(" ||"); gotoxy(55,11); cprintf(" ||"); gotoxy(55,12); cprintf(" ||"); gotoxy(55,13); cprintf(" ||"); Source Code Table Printing C Programming
  • 5. Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com gotoxy(55,14); cprintf(" ||"); gotoxy(25,15); cprintf("============================= ==========="); gotoxy(27,9); printf(" Table Printing n"); gotoxy(27,12); printf(" Enter num:: n"); gotoxy(41,12); scanf("%d",&a); if(a!=0) { clrscr(); textcolor(12); gotoxy(25,8); cprintf("============================= ==========="); gotoxy(25,9); cprintf("||"); gotoxy(25,10); cprintf("||"); gotoxy(25,11); cprintf("||"); gotoxy(25,12); cprintf("||"); gotoxy(25,13); cprintf("||"); gotoxy(25,14); cprintf("||"); gotoxy(25,15); cprintf("||"); gotoxy(25,16); cprintf("||"); gotoxy(25,17); cprintf("||"); Table Printing C Programming
  • 6. Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com gotoxy(25,18); cprintf("||"); gotoxy(25,19); cprintf("||"); gotoxy(25,20); cprintf("||"); gotoxy(25,21); cprintf("||"); gotoxy(55,9); cprintf(" ||"); gotoxy(55,10); cprintf(" ||"); gotoxy(55,11); cprintf(" ||"); gotoxy(55,12); cprintf(" ||"); gotoxy(55,13); cprintf(" ||"); gotoxy(55,14); cprintf(" ||"); gotoxy(55,15); cprintf(" ||"); gotoxy(55,16); cprintf(" ||"); gotoxy(55,17); cprintf(" ||"); gotoxy(55,18); cprintf(" ||"); gotoxy(55,19); cprintf(" ||"); gotoxy(55,20); cprintf(" ||"); gotoxy(55,21); cprintf(" ||"); gotoxy(25,22); cprintf("============================== =========="); Table Printing C Programming
  • 7. Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com textcolor(15); gotoxy(27,9); cprintf(" Table Printing n"); for(i=1;i<=10;i++) { n=i*a; gotoxy(34,input); input++; cprintf("%d * %d = %dnnn",a,i,n); } } textcolor(10); gotoxy(34,40); cprintf("Do you want to Continue(Y/N)"); if(getch()=='y') { main(); } else { exit(0); } getch(); } Table Printing C Programming
  • 8. Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com void main() { char c,d; clrscr(); printf("tt Enter a character::"); c=getche(); printf("nntt ASCII CODE is:::%d",c); printf("tttttnn Do you want to continue:nn press 1 else press 0"); d=getch(); if(d=='1') { main(); } else { exit(0); } } ASCII CALCULATOR
  • 9. ARMSTRONG CALCULATOR Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com while(t1>0) { c++; t1=t1/10; } while(t>0) { m=t%10; p=pow(m,c); a=a+p; t=t/10; } if(a==n) { printf("tt Number %d is a Armstrong number",a); } else { printf("tt not Armstrong number"); }
  • 10. COLOR GRID PRINTER Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com void main() { int i,c; clrscr(); window(30,4,40,20); for(i=1,c=1;i<=200;i++,c++) { if(i%20==0) { printf("n"); } else { textbackground(c); cprintf(" "); } if(c==7) { c=1; } }
  • 11. Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com void main() { int n,j,a[20],i=0,m=0; clrscr(); printf("please enter your decimal number:::"); scanf("%d",&n); while(n>0) { m=n%2; a[i]=m; n=n/2; i++; } i--; textcolor(4); window(30,4,40,20); for(j=i;j>=0;j--) { cprintf("%d",a[j]); } } Decimal to Binary Calculator
  • 12. PALINDROM CALCULATOR Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com void main() { int n,p=0,t,m; clrscr(); printf("ntt Enter a number::"); scanf("ntt%d",&n); t=n; while(t>0) { m=t%10; p=p*10+m; t=t/10; } if(p==n) { printf("tt Number %d is a palindrom number",n); } else { printf("tt Not a palindrom number"); } getch(); }
  • 13. POWER CALCULATOR Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com void main() { int n,p,i; long s; clrscr(); gotoxy(10,2); printf("number"); gotoxy(10,4); scanf("%d",&n); gotoxy(20,2); printf("power"); gotoxy(20,4); scanf("%d",&p); s=1; while(p>=1) { s=s*n; p--; } gotoxy(15,6); printf("%ld",s); getch(); }
  • 14. PRIME NUMBER CALCULATOR Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com void main() { int c,i,n; clrscr(); c=0; printf("ntt Enter a number:::"); scanf("%d",&n); for(i=1;i<=n;i++) { if(n%i==0) { c++; } } if(c==1||c==2) { printf("tt Number%d is a prime number",n); } else { printf("tt Not prime number"); } }
  • 15. Text Printer Harendra Singh Rawat BECHALOR OF COMPUTER APPLICATIONS 1ST YEAR Dezyne E’cole College www.dezyneecole.com void main() { char a[]="n C is one of the foundation for modern n informationtechnology(IT).n More than 90% of the programs running n on our desktops from operation systems n and email client to web browers and n games are written in C."; int i,l; clrscr(); l=strlen(a); for(i=0;i<=l;i++) { delay(100); printf("%c",a[i]); } }