#include <iostream>
usingnamespace std;
int main()
{
cout << "Enter your name and Sirname and age. \n";
string firstName;
string secondName;
cin >> firstName >> secondName;
cout << "Hello " << firstName << " " << secondName << endl;
cout << "Enter your weight and it will calculate how fat you are \n";
string fat;
cin >> fat;
int a;
a = 25;
int b;
b = 50;
int c;
c = 75;
if (fat <= a)
cout << "You are not fat";
if (fat <= b)
cout << "You are a fat person";
if (fat >= c)
cout << "You are a very fat person";
}
Im getting an error in the if (fat <= a) part, Im noob so please help me. Thanks,