The_road_to_learn_C++
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
262 B

#include <iostream>
int main()
{
using namespace std;
long double a = 2.34E+22f;
long double b = a + 1.0f;
cout.setf(ios_base::fixed, ios_base::floatfield);
cout << "a = " << a << endl;
cout << "b - a = " << b - a << endl;
return 0;
}