Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, im trying to check to see if two strings are equal to one another. In my code, I have input1 (which is equal to
Hello, im trying to check to see if two strings are equal to one another. In my code, I have input1 (which is equal to phone) and I have a string named phone, which is equal to phone.
I would like to know of a way to check if these are equal (input1 == phone), and if they are equal Id like to set a variable named bool3an = 1.
This is in c++ please, only using any of these
#include
using namespace std;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started