#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
	float f = 20.2;
	cout.setf(ios::scientific | ios::uppercase);
	cout << f << endl;
	cout << cout.flags() << endl;
	cout.flags(ios::showpos);
	cout << cout.flags() << endl;
	cout << f << endl;
	cout.unsetf(ios::showpos);
	cout << f;
	system("pause");
	return 0;
}