Question: Hello I need help with this simple C++ program. I need to the contents of the void function in int main() as well make the
Hello I need help with this simple C++ program. I need to the contents of the void function in int main() as well make the program more simple. Thanks.
Code:
#include
void position(float x , float y){ cout< int main(){ float XArr[] = {1.2,-5.0,-0.8,0.0,-4.5,0.1,0.0,0.0,-1.6}; float YArr[] = {1.8,0.0,3.0,-2.0,-7.2,-3.8,12.2,0.0,0.0}; int size = sizeof(XArr)/sizeof(float); for(int i=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
