Question: Read section 4 . 1 . 1 ( page 1 1 2 ) as a reading assignment before performing the task below. Write a C

Read section 4.1.1(page 112) as a reading assignment before performing the task below.
Write a C++ program to declare local variables of p =300 and q =200 as an integer data type. Perform at least 3 relational operations in a single program and by using the if-else command (refer to class activity 4 from Week 4 lecture notes).
Show your program and the output screen.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!