Computer Science, asked by jahnavijanu1157, 11 months ago

Florence is in Wild tribe ranch. Wild tribe ranch is Adventure Park for adults. Florence is in front of a live cave. The mouth of cave is like a pothole. The guideline of the park mentions the maximum weight of a person who can go through the mouth of the cave. If the candidate’s weight is just same as maximum weight, then the candidate might require to have a rope with them. Florence has to determine whether she will be able to get through the pothole or not. Can you help her?
The input should be the maximum weight and weight of Florence.

Answers

Answered by JAYADADI
6

Answer:

please mark me as brain list please

#include<iostream>

int main()

{

 int a,b;

 std::cin>>a;

 std::cin>>b;

 if(a>b)

 {

  std::cout<<"Yes, you can enter.";

 }

 else if(a==b)

 {

  std::cout<<"Yes, you can enter. Kindly use a rope.";

 }

 else

  std::cout<<"Sorry, you can't enter";

}

Similar questions