Variables and datatypes


#1

#include
#include
using namespace std;

int main() {

int a = 5;
long int b = 1234567891231;
char c = ‘z’;
float d = 24.230;
double e = 1214523.028352000;

cout<<a<<"\n"<<b<<"\n"<<c<<"\n"<<std::fixed<<std::setprecision(3)<<d<<"\n"<<std::setprecision(9)<<e<<"\n";

return 0;

}