考虑下面的代码:
#include <iostream>
using namespace std;
int main ()
{
int a;
double b;
cout << "Enter a number to be divided by three" << endl;
cin >> a;
b = a / 3.0;
cout << "The result of this is:" << b << endl;
return 0;
}
如何设置要在小数点后存储多少个变量?这包括 20 位以上的数字。