سلام
پیشنهاد اول من: کتاب جعفر نژاد نخونید
پیشنهاد دوم من: رفرنس بخونید
این هم راه حل
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<string.h>
#include<stdlib.h>
void main()
{
int man,exp;
char ch;
wrong:
cout<<"the floating value";
cin>>man>>ch>>exp;
if(ch!='.')
{
cout<<"wrong floating value\n";
goto wrong;
}
char str[5];
itoa(exp,str,10);
char str1[5];
itoa(man,str1,10);
cout<<"the reverse of given float is "<<strrev(str)<<ch<<strrev(str1);
getch();
}
برنامه را در word کپی کنید تا درست بشه.