Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

C + + Replace question marks with correct word ( s ) . Print 1 if x is equal to y , print

C++ Replace question marks with correct word(s).
Print "1" if x is equal to y, print "2" if x is greater than y, otherwise print "3".
int x =50;
int y =50;
?(x ? y){
cout <<"1";
}
??(x ? y){
cout <<"2";
}?{
cout <<"3";
}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students explore these related Databases questions

Question

1. Select the job or jobs to be analyzed.

Answered: 3 weeks ago