#include<iostream> using namespace std; int main() { float x; int i; x=3.6; i=(int)x; cout<<"x="<<x<<",i="<<i<<endl; return 0; }