Write a function that mimics the behavior of "ftoa" function,
It should be defined as follows:
char* ftoa (float number, char* buffer, int base )
Example:
float n = 2.5;
char* buffer = new char[20];
ftoa(n,buffer,10);
cout<
Answers
Answered by
1
tex
It should be defined as follows:
char* ftoa (float number, char* buffer, int base )
Example:
float n = 2.5;
char* buffer = new char[20];
ftoa(n,buffer,10);
cout<
Similar questions