#include <iostream>
using namespace std;
int main() {
float x = 10.3;
int y = int(x);
int d = 7;
float z= x+d ;
cout<<"the value of z is:"<<z<<endl;
cout<<"the value of y is:"<<y<<endl;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: