Question: Part III - Structure Exercise - Create new folder Start a new project make main.C use functions w / structures In the main.c function ask

Part III - Structure Exercise - Create new folder
Start a new project
make main.C use functions w/structures
In the main.c function ask the user to enter two 3 dimensional vectors (6 values total) and a scalar value (7th value)
Create function prototypes above your main function (or in a header as was done in Part I) for the following 7 processes. Each function will return a structured v
Add two vectors
Subtract two vectors
Multiply a vector by a scalar
Negate a vector (invert each value)
Take cross product of two vectors
Take dot product of two vectors (results in a scalar)
Normalize a vector
 Part III - Structure Exercise - Create new folder Start a

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!