Pratik Bakane C++ programs...............This are programs desingedby sy diploma student from Governement Polytecnic Thane.....programsare very easy alongwith coding andscreen shot of the output
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
Pratik Bakane C++
1. /*Program to input an integer value from
keyboard and display “WELDONE ” on screen*/
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int i,n;
cout<<"nnttEnter number of times:";
cin>>n;
for(i=0;i<n;i++)
{
cout<<"nnttWELDONE";
}
getch();
}
3. /*Program to read values of a,b,c and find
x where x=a/(b-c)*/
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c,x;
cout<<"nnttEnter a:";
cin>>a;
cout<<"nnttEnter b:";
cin>>b;
cout<<"nnttEnter c:";
cin>>c;
x=a/(b-c);
cout<<"nnttValue of X is:"<<x;
getch();
}