#include <iostream>
    using namespace std;

    int main()
    {
    double d=12.233;
       int a=111;
       short b=10;

       b=static_cast<short>(a);
       int bbb;
       bbb=static_cast<int>(d);
       cout<<"bbb="<<bbb<<endl;

       cout<<"a = "<<a
           <<" b = "<<b
           <<endl;
       return 0;
    }