Answer:
#include <bits/stdc++.h>
using namespace std;
int main() in=="yes"
Step-by-step explanation:
I have taken a string in.
Then taking input from user.
Checking the conditions using if else if ladder.
7.8m questions
10.5m answers