//program09.cpp
#include <iostream.h>
#include <conio.h>
#include <iomanip.h>
void main()
{
float a; a = 56.0123456789123456789;
double b; b = 56.0123456789123456789;
cout<<setprecision(18); //mengatur presisi tampilan
cout<<"a = "<<a<<endl;
cout<<"b = "<<b<<endl;
getch();
}
Rabu, 17 April 2013
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar