Question: Write a function getCoordinates that takes 2 integers x, y as arguments. This function will prompt user to input two values and store those values

 Write a function getCoordinates that takes 2 integers x, y as

Write a function getCoordinates that takes 2 integers x, y as arguments. This function will prompt user to input two values and store those values in x, y. Ex: Enter x and y coordinates: that takes 2 integers x, y as arguments. This function will transform the coordinates using the following Write another function transform formulas: x = 7x +5 if x >0 x = -2x + 1 if x y = 3y - 10 if y 2 using namespace std; 4 // getCoordinates() 6 // transform() 9 int main() 10 //do not modify 12 int x,y; get Coordinates(x,y); cout

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!