Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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