You have not commented your above declared main function and header files correctly.
Also you have declared the variable and logic multiple times which giving multiple declaration of same variables as an error
Try this way.
using namespace std;
float x, home;
cin >> home;
//your code goes here
x =(2 / home)*100;
cout <<setprecision(2)<< x << endl;