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():
}
Tuesday, 29 November 2016
Assignment of C++ progrmming in BS.CS Class
Q. Write a program that input age in year and display age in days and month?
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int age in year ,days,month;
cout<<"age in year";
cin>>year;
age in year=12*age in year
cout<<"age in year="<<age;
cout<<"enter age in year";
cin>>year;
age in year=360*age ion year
cout<<"age in year="<<age;
getch();
}
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int age in year ,days,month;
cout<<"age in year";
cin>>year;
age in year=12*age in year
cout<<"age in year="<<age;
cout<<"enter age in year";
cin>>year;
age in year=360*age ion year
cout<<"age in year="<<age;
getch();
}
Assignment Of C++ Programming
Q. Write a program that input radius of sphere from the user.Calculate its volume and surface area using formula Area and Circumference ?
Saturday, 26 November 2016
Friday, 25 November 2016
Tuesday, 22 November 2016
assignment of c++ progrmming
Q. Write a program of my daily life work in day?
<html>
<head><title>My Daily Life Work</title></head>
<body>
<ol type= >
<li><div style="background color=black"><font size=4 color=white>I get up early in the morning</div></li>
<li><div style="background color=blue"><font size=4 color=pink">I am abblevation.</div></li>
<li><div style="background color=pink"><font size=4 color=blue">I go to masjid and pray namaz.</div></li>
<li><div style="background color=blue"><font size=4 color=gold>I am going to walk.</div></li>
</ol>
</body>
</html>
<html>
<head><title>My Daily Life Work</title></head>
<body>
<ol type= >
<li><div style="background color=black"><font size=4 color=white>I get up early in the morning</div></li>
<li><div style="background color=blue"><font size=4 color=pink">I am abblevation.</div></li>
<li><div style="background color=pink"><font size=4 color=blue">I go to masjid and pray namaz.</div></li>
<li><div style="background color=blue"><font size=4 color=gold>I am going to walk.</div></li>
</ol>
</body>
</html>