I want to print a float number with it's digits extending to 20000 digits after the decimal i.e. if the number is 10/3, it should print 3.333333333333333333333333333...20000 or more times.
So, how do I print something like that?
Also, do tell the solution for C and C++ as well...
The code I used was:
#include<iostream>
#include<math.h>
#include<conio.h>
using namespace std;
int main(){
printf("%f",(sqrt(2)));
getch();
return 0;
}
It gave me output: 1.414214