SlideShare a Scribd company logo
1 of 19
Download to read offline
11/4/2016
Submitted By
Dinesh Narayan
BCA 3rd Year
Dezyne E’cole College
C++
Submitted By
Dinesh Narayan
BCA –3rd Year
Dezyne E’ cole College
106/10, Civil Lines, Ajmer
Tel: 0145-2624679
www.dezyneecole.com
2016-2017
Acknowledgement
This application on “C++ Language” 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 Sharma for helping us during the making of project.
With due Regards,
Dinesh Narayan
BCA 3rd Year
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Armstrong Calculator
Source Code
4
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
5
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
class arn
{ public:
long int n,l,x;
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
6
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
class arn
{ public:
long int n,l,x;
void wel()
{
for(x=7;x<=17;x++)
{
gotoxy(23,x);
cout<<"*";
}
for(x=24;x<=52;x++)
{
gotoxy(x,6);
cout<<"*";
}
for(x=7;x<=17;x++)
{
gotoxy(52,x);
cout<<"*";
}
for(x=24;x<=52;x++)
{
gotoxy(x,18);
cout<<"*";
}
}
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
7
void ms()
{
bg:
wel();
gotoxy(30,8);
cout<<"Armstrong Calculator";
gotoxy(30,10);
cout<<"1. Using Number";
gotoxy(30,12);
cout<<"2. Using 1 to limit";
gotoxy(30,14);
cout<<"3. Limit to limit";
gotoxy(30,16);
cout<<"4. Exit";
l1:
n=getch();
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
8
If(n=='1')
{
f1();
getch();
clrscr();
goto bg;
}
else if(n=='2')
{
f2();
getch();
clrscr();
goto bg;
}
else if(n=='3')
{
f3();
getch();
clrscr();
goto bg;
}
else if(n=='4')
{
exit(0);
}
else
{
goto l1;
}
}void f1()
{ clrscr();
wel();
gotoxy(30,8);
cout<<"Enter number : ";
cin>>n;
long int co,c,t,m,st,s;
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
9
t=co=n;
c=s=0;
while(co>0)
{
c++;
co=co/10;
}
while(t>0)
{
m=t%10;
st=1;
for(int j=1;j<=c;j++)
{
st=st*m;
}
s=s+st;
t=t/10;
}
if(s==n)
{
gotoxy(30,10);
cout<<"Number is armstrong";
}
else
{
gotoxy(30,10);
cout<<"Number Not armstrong";
}
}
void f2()
{
clrscr();
wel();
gotoxy(30,8);
cout<<"Enter Limit : ";
cin>>n;
int xc=26,yc=10;
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
10
for(int i=1;i<=n;i++)
{
long int co,c,t,m,st,s;
t=co=i;
c=s=0;
while(co>0)
{
c++;
co=co/10;
}
while(t>0)
{
m=t%10;
st=1;
for(int j=1;j<=c;j++)
{
st=st*m;
}
s=s+st;
t=t/10;
}
if(s==i)
{
gotoxy(xc,yc);
cout<<i;
xc+=5;
if(xc>=50)
{
xc=26;
yc+=2;
}
}
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
11
void f3()
{
clrscr();
wel();
gotoxy(28,7);
cout<<"Starting Limit : ";
cin>>n;
gotoxy(28,8);
cout<<"Ending Limit : ";
cin>>l;
int xc=26,yc=10;
for(int i=n;i<=l;i++)
{
long int co,c,t,m,st,s;
t=co=i;
c=s=0;
while(co>0)
{
c++
co=co/10;
}
while(t>0)
{
m=t%10
st=1;
for(int j=1;j<=c;j++)
{
st=st*m;
}
s=s+st;
t=t/10;
}
Armstrong Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
12
if(s==i)
{
gotoxy(xc,yc);
cout<<i;
xc+=5;
if(xc>=50)
{
xc=26;
yc+=2;
}
}
}
}
}; xc+=5;
if(xc>=50)
{
xc=26;
yc+=2;
}
}
}
}
};
void main()
{
clrscr();
arn a;
a.wel();
a.ms();
getch();
}
Perfect Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Source Code
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
#include<dos.h>
Perfect Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
class arn
{
public:
long int n,l,x,y;
void wel()
{
for(x=7;x<=17;x++)
{
gotoxy(23,x);
cout<<"*";
}
for(x=24;x<=52;x++)
{
gotoxy(x,6);
cout<<"*";
}
for(x=7;x<=17;x++)
{
gotoxy(52,x);
cout<<"*";
}
for(x=24;x<=52;x++)
{
gotoxy(x,18);
cout<<"*";
}
}
void ms()
{
bg:
wel();
gotoxy(30,8);
cout<<"Perfect Calculator";
gotoxy(30,10);
cout<<"1. Using Number";
gotoxy(30,12);
cout<<"2. Using 1 to limit";
gotoxy(30,14);
cout<<"3. Limit to limit";
Perfect Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
gotoxy(30,16);
cout<<"4. Exit";
l1:
n=getch();
if(n=='1')
{
f1();
getch();
clrscr();
goto bg;
}
else if(n=='2')
{
f2();
getch();
clrscr();
goto bg;
}
else if(n=='3')
{
f3();
getch();
clrscr();
goto bg;
}
else if(n=='4')
{
exit(0);
}
else
{
goto l1;
}
}
void f1()
{
clrscr();
wel();
gotoxy(30,8);
long int i,n;
Perfect Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
int s=0;
cout<<"Enter number : ";
cin>>n;
for(i=1;i<n;i++)
{
if(n%i==0)
{
s=s+i;
}
}
if(s==n)
{
gotoxy(30,10);
cout<<"Number is Perfect";
}
else
{
gotoxy(30,10);
cout<<"Number Not Perfect";
}
}
void f2()
{
clrscr();
wel();
gotoxy(30,8);
long int i,n,l;
int s;
cout<<"Enter limit : ";
cin>>l;
int xc=26,yc=10;
for(i=1;i<=l;i++)
{
s=0;
for(n=1;n<i;n++)
{
if(i%n==0)
{
s=s+n;
}
Perfect Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
}
if(s==i)
{
gotoxy(xc,yc);
cout<<i<<" ";
xc+=5;
if(xc>=50)
{
xc=26;
yc+=2;
}
}
}
}
void f3()
{
clrscr();
wel();
float f=0.5;
gotoxy(28,7);
cout<<"Starting Limit : ";
cin>>n;
gotoxy(28,8);
cout<<"Ending Limit : ";
cin>>l;
int xc=30,yc=10,s;
for(int i=n;i<=l;i++)
{
s=0;
for(int j=1;j<i;j++)
{
if(i%j==0)
{
s=s+j;
}
}
Perfect Calculator
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
f(s==i)
{
delay(f);
gotoxy(xc,yc);
cout<<i<<" ";
xc+=5;
if(xc>=50)
{
xc=28;
yc+=2;
}
}
}
}
};
void main()
{
clrscr();
arn a;
a.wel();
a.ms();
getch();
}
Dinesh Narayan
Bachelor of Computer
Application 3rd Year
Dezyne E’cole College
www.dezyneecole.com
Thank You
Name:- Dinesh Narayan
Class:- BCA 3rd year

More Related Content

Similar to Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College

Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,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
 
Amit Kumar Yadav , BCA Third Year
Amit Kumar Yadav ,  BCA Third YearAmit Kumar Yadav ,  BCA Third Year
Amit Kumar Yadav , BCA Third YearDezyneecole
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Yeardezyneecole
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearDezyneecole
 
Iram naaz khan_studentmanagementpdf
Iram naaz khan_studentmanagementpdfIram naaz khan_studentmanagementpdf
Iram naaz khan_studentmanagementpdfMohnish Tak
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third YearDezyneecole
 
Umesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole College
Umesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole CollegeUmesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole College
Umesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole Collegedezyneecole
 
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearDezyneecole
 
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...dezyneecole
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearDezyneecole
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Yeardezyneecole
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Yeardezyneecole
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third YearDezyneecole
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDezyneecole
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Yeardezyneecole
 
Ronak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third YearRonak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third YearDezyneecole
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearDezyneecole
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Yeardezyneecole
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearDezyneecole
 

Similar to Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College (20)

Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,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
 
Amit Kumar Yadav , BCA Third Year
Amit Kumar Yadav ,  BCA Third YearAmit Kumar Yadav ,  BCA Third Year
Amit Kumar Yadav , BCA Third Year
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third Year
 
Iram naaz khan_studentmanagementpdf
Iram naaz khan_studentmanagementpdfIram naaz khan_studentmanagementpdf
Iram naaz khan_studentmanagementpdf
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third Year
 
Umesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole College
Umesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole CollegeUmesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole College
Umesh Taglani,Project on C language,Final Year BCA ,Dezyne E'cole College
 
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third Year
 
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third Year
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third Year
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
 
Ronak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third YearRonak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third Year
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third Year
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third Year
 

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

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Recently uploaded (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Dinesh Narayan ,Project on C++,Final year BCA ,Dezyne E'cole College

  • 1. 11/4/2016 Submitted By Dinesh Narayan BCA 3rd Year Dezyne E’cole College C++
  • 2. Submitted By Dinesh Narayan BCA –3rd Year Dezyne E’ cole College 106/10, Civil Lines, Ajmer Tel: 0145-2624679 www.dezyneecole.com 2016-2017
  • 3. Acknowledgement This application on “C++ Language” 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 Sharma for helping us during the making of project. With due Regards, Dinesh Narayan BCA 3rd Year
  • 4. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Armstrong Calculator Source Code 4
  • 5. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 5 #include<iostream.h> #include<conio.h> #include<stdlib.h> class arn { public: long int n,l,x;
  • 6. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 6 #include<iostream.h> #include<conio.h> #include<stdlib.h> class arn { public: long int n,l,x; void wel() { for(x=7;x<=17;x++) { gotoxy(23,x); cout<<"*"; } for(x=24;x<=52;x++) { gotoxy(x,6); cout<<"*"; } for(x=7;x<=17;x++) { gotoxy(52,x); cout<<"*"; } for(x=24;x<=52;x++) { gotoxy(x,18); cout<<"*"; } }
  • 7. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 7 void ms() { bg: wel(); gotoxy(30,8); cout<<"Armstrong Calculator"; gotoxy(30,10); cout<<"1. Using Number"; gotoxy(30,12); cout<<"2. Using 1 to limit"; gotoxy(30,14); cout<<"3. Limit to limit"; gotoxy(30,16); cout<<"4. Exit"; l1: n=getch();
  • 8. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 8 If(n=='1') { f1(); getch(); clrscr(); goto bg; } else if(n=='2') { f2(); getch(); clrscr(); goto bg; } else if(n=='3') { f3(); getch(); clrscr(); goto bg; } else if(n=='4') { exit(0); } else { goto l1; } }void f1() { clrscr(); wel(); gotoxy(30,8); cout<<"Enter number : "; cin>>n; long int co,c,t,m,st,s;
  • 9. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 9 t=co=n; c=s=0; while(co>0) { c++; co=co/10; } while(t>0) { m=t%10; st=1; for(int j=1;j<=c;j++) { st=st*m; } s=s+st; t=t/10; } if(s==n) { gotoxy(30,10); cout<<"Number is armstrong"; } else { gotoxy(30,10); cout<<"Number Not armstrong"; } } void f2() { clrscr(); wel(); gotoxy(30,8); cout<<"Enter Limit : "; cin>>n; int xc=26,yc=10;
  • 10. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 10 for(int i=1;i<=n;i++) { long int co,c,t,m,st,s; t=co=i; c=s=0; while(co>0) { c++; co=co/10; } while(t>0) { m=t%10; st=1; for(int j=1;j<=c;j++) { st=st*m; } s=s+st; t=t/10; } if(s==i) { gotoxy(xc,yc); cout<<i; xc+=5; if(xc>=50) { xc=26; yc+=2; } }
  • 11. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 11 void f3() { clrscr(); wel(); gotoxy(28,7); cout<<"Starting Limit : "; cin>>n; gotoxy(28,8); cout<<"Ending Limit : "; cin>>l; int xc=26,yc=10; for(int i=n;i<=l;i++) { long int co,c,t,m,st,s; t=co=i; c=s=0; while(co>0) { c++ co=co/10; } while(t>0) { m=t%10 st=1; for(int j=1;j<=c;j++) { st=st*m; } s=s+st; t=t/10; }
  • 12. Armstrong Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code 12 if(s==i) { gotoxy(xc,yc); cout<<i; xc+=5; if(xc>=50) { xc=26; yc+=2; } } } } }; xc+=5; if(xc>=50) { xc=26; yc+=2; } } } } }; void main() { clrscr(); arn a; a.wel(); a.ms(); getch(); }
  • 13. Perfect Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Source Code #include<iostream.h> #include<conio.h> #include<stdlib.h> #include<dos.h>
  • 14. Perfect Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com class arn { public: long int n,l,x,y; void wel() { for(x=7;x<=17;x++) { gotoxy(23,x); cout<<"*"; } for(x=24;x<=52;x++) { gotoxy(x,6); cout<<"*"; } for(x=7;x<=17;x++) { gotoxy(52,x); cout<<"*"; } for(x=24;x<=52;x++) { gotoxy(x,18); cout<<"*"; } } void ms() { bg: wel(); gotoxy(30,8); cout<<"Perfect Calculator"; gotoxy(30,10); cout<<"1. Using Number"; gotoxy(30,12); cout<<"2. Using 1 to limit"; gotoxy(30,14); cout<<"3. Limit to limit";
  • 15. Perfect Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com gotoxy(30,16); cout<<"4. Exit"; l1: n=getch(); if(n=='1') { f1(); getch(); clrscr(); goto bg; } else if(n=='2') { f2(); getch(); clrscr(); goto bg; } else if(n=='3') { f3(); getch(); clrscr(); goto bg; } else if(n=='4') { exit(0); } else { goto l1; } } void f1() { clrscr(); wel(); gotoxy(30,8); long int i,n;
  • 16. Perfect Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com int s=0; cout<<"Enter number : "; cin>>n; for(i=1;i<n;i++) { if(n%i==0) { s=s+i; } } if(s==n) { gotoxy(30,10); cout<<"Number is Perfect"; } else { gotoxy(30,10); cout<<"Number Not Perfect"; } } void f2() { clrscr(); wel(); gotoxy(30,8); long int i,n,l; int s; cout<<"Enter limit : "; cin>>l; int xc=26,yc=10; for(i=1;i<=l;i++) { s=0; for(n=1;n<i;n++) { if(i%n==0) { s=s+n; }
  • 17. Perfect Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com } if(s==i) { gotoxy(xc,yc); cout<<i<<" "; xc+=5; if(xc>=50) { xc=26; yc+=2; } } } } void f3() { clrscr(); wel(); float f=0.5; gotoxy(28,7); cout<<"Starting Limit : "; cin>>n; gotoxy(28,8); cout<<"Ending Limit : "; cin>>l; int xc=30,yc=10,s; for(int i=n;i<=l;i++) { s=0; for(int j=1;j<i;j++) { if(i%j==0) { s=s+j; } }
  • 18. Perfect Calculator Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com f(s==i) { delay(f); gotoxy(xc,yc); cout<<i<<" "; xc+=5; if(xc>=50) { xc=28; yc+=2; } } } } }; void main() { clrscr(); arn a; a.wel(); a.ms(); getch(); }
  • 19. Dinesh Narayan Bachelor of Computer Application 3rd Year Dezyne E’cole College www.dezyneecole.com Thank You Name:- Dinesh Narayan Class:- BCA 3rd year