I am in a c programming class and i have no idea how to do the stuff. The teacher wants us to write a program that does basic vector operations. The program needs to: Prompt the user to enter the x,y,and z values for two vectors a and b and store them in array.
Ask the user what operation he would like the program to perform.
The program should perform one of the following add vectors, find the dot product, find the cross product of axb,adn find the angle between them.
The program should display the value requested by the user, or display an error message if the user enters something wrong.
Must use a loop for at least one of the operations, and your vectors must be stored as arrays. Please if anyone can will you show me how to perform this program.