Octal Decimal Hexadecimal conversions method 2
Wednesday, March 11th, 2009#include
int main() return 0; }
{
cout<<"The decimal value of 15 is "<<15<
#include
int main() return 0; }
{
cout<<"The decimal value of 15 is "<<15<
#include
#include
int main() return 0; }
{
cout<<"The decimal value of 15 is "<<15<
/**************************************
launch notepad C++ version
***************************************/
#include
#include
int main(void)
{
cout<<"Explorer will launch.n"<
system(”h:\windows\explorer.exe”);
return 0;
}
#include int main() return 0;
#include
{
double radius;
//get user input
cout<<"Please enter the radius : ";
cin>>radius;
//act on user input
if(radius < 0.0)
cout<<"Cannot have a negative radius"<
cout<<"The area of the circle is "<<3.1416 * pow(radius,2)<
}
/**************************************
cin.getline example
***************************************/
#include
int main(void) return 0;
{
const SIZE = 100;
char msg[SIZE];
cout<<"Enter a string."<
cout<<"The sentence you entered was"<
}