#include<conio.h>
#include <iostream.h>
#include <stdlib.h>
void main()
{
int i;
char str[256];
clrscr();
cout<<"Enter a Number: ";
cin.get(str,256);
i = atoi ( str );
cout<<i<<" its Double = "<<i * 2;
getch();
}
By Dinesh Thakur
#include<conio.h>
#include <iostream.h>
#include <stdlib.h>
void main()
{
int i;
char str[256];
clrscr();
cout<<"Enter a Number: ";
cin.get(str,256);
i = atoi ( str );
cout<<i<<" its Double = "<<i * 2;
getch();
}
Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.
For any type of query or something that you think is missing, please feel free to Contact us.