This is default featured slide 1 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 2 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 3 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 4 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 5 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Monday, 5 December 2016
Friday, 2 December 2016
Thursday, 1 December 2016
Assignment of c++ Programming
Q.No.12 Write a program to input 3 digits number and displays in digits in separator lines?
# include<iostream.h>
# include<conio.h>
void main ()
{
int 1,2,3:
clrscr():
cout<<"/n Enter first number"<<1:
cout<<"/n Enter second number"<<2:
cout<<"/n Enter third number"<<3:
getch()
}
Q.No.13 Write a program to calculate the volume of cube by taing measures from user?
# include<iostream.h>
# include<conio.h>
Void main()
{
float vol,l,w,h:
clrscr():
cout<<"Enter the value of length"<<l:
cout<<"Enter the value of width"<<w:
cout<<"enter the value of heigth"<<h;
volume=l*w*h
cout<<"volume"<<setprecision(2)<<volume<<endl:
getch():
}
# include<iostream.h>
# include<conio.h>
void main ()
{
int 1,2,3:
clrscr():
cout<<"/n Enter first number"<<1:
cout<<"/n Enter second number"<<2:
cout<<"/n Enter third number"<<3:
getch()
}
Q.No.13 Write a program to calculate the volume of cube by taing measures from user?
# include<iostream.h>
# include<conio.h>
Void main()
{
float vol,l,w,h:
clrscr():
cout<<"Enter the value of length"<<l:
cout<<"Enter the value of width"<<w:
cout<<"enter the value of heigth"<<h;
volume=l*w*h
cout<<"volume"<<setprecision(2)<<volume<<endl:
getch():
}
Assignment Of C++ Programming
Q.No.11.Write a program to swap the values of three variables by using fourth variable?
# include<iostream.h>
# include<conio.h>
void main()
{
int a,b,c,dclrscr():
cout<<"enter first number":
cin>>s:
cout<<"Enter second number":
cin>>b:
cout<<"Enter third number":
cin>>c:
cout<<"you input no.as"<<a<<b<<"and<<c<<endl:
a=b+c
b=c+a
d=a+c
cout<<"The value after swapping are"<<a<<b<<c<<"and<<d:
getch():
}
# include<iostream.h>
# include<conio.h>
void main()
{
int a,b,c,dclrscr():
cout<<"enter first number":
cin>>s:
cout<<"Enter second number":
cin>>b:
cout<<"Enter third number":
cin>>c:
cout<<"you input no.as"<<a<<b<<"and<<c<<endl:
a=b+c
b=c+a
d=a+c
cout<<"The value after swapping are"<<a<<b<<c<<"and<<d:
getch():
}