Help with a lesson

https://www.codecademy.com/courses/learn-c-plus-plus/lessons/cpp-conditionals-and-logic/exercises/review?action=resume_content_item

So im trying to complete this Project and I’m pretty sure everything is right and im not sure on what most of the errors are in the terrminal so can someone try and help me understand these things

This is my code

#include

int main() {
double weight;
string planet;

std::cout << “Type in your Earth Weight”;
std::cin >> weight;
std::cout << “Type in the Planet that your going to fight on\n”;
std::cout << " 1. Venus 2. Mars, 3. Jupiter,\n";
std::cout << " 4. Saturn 5. Uranus 6. Neptune\n";
std::cin >> planet;

if (planet == 1) {
weight = weight * 0.78;
}
else if (planet == 2) {
weight = weight * 0.39;
}
else if (planet == 3) {
weight = weight * 2.65;
}
else if (planet == 4) {
weight = weight * 1.17;
}
else if (planet == 5) {
weight = weight * 1.05;
}
else if (planet == 6) {
weight = weight * 1.23;
}

std::cout << "Your weight will be " << weight << “\n”;

}
NVM I FOUND THE PROBLEM

3 Likes