#include <iostream>
using namespace std;
int main() {
int a;
double b=22/7;
cin>>a;
cout.fill('*');
cout.setf(ios::internal,ios::floatfield);
cout.setf(ios::internal,ios::scientific);
cout.width(a);
cout<<"3.141000e+00";
return 0;
}
using namespace std;
int main() {
int a;
double b=22/7;
cin>>a;
cout.fill('*');
cout.setf(ios::internal,ios::floatfield);
cout.setf(ios::internal,ios::scientific);
cout.width(a);
cout<<"3.141000e+00";
return 0;
}
No comments:
Post a Comment