C+program to find and print the value of Z using if statement.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.4: A Case Study: Rectangular To Polar Coordinate Conversion
Problem 2E: (Practice) Write a C++ program that accepts the rectangular coordinates of two points...
icon
Related questions
Question
i need the answer quickly
A. Write a C++ program to find and print the value of Z using if statement.
X = -1
X = 0
X = 1
otherwise
X +5x2
3X/5
Transcribed Image Text:A. Write a C++ program to find and print the value of Z using if statement. X = -1 X = 0 X = 1 otherwise X +5x2 3X/5
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr