Question: C++ The Main function Write a main that performs that tasks below. A simplifying assumption is that all user inputs are valid and that all

C++  C++ The Main function Write a main that performs that tasks
below. A simplifying assumption is that all user inputs are valid and

The Main function Write a main that performs that tasks below. A simplifying assumption is that all user inputs are valid and that all the expressions are defined . Your program will prompt the user for the dimension and coordinates of three vectors, say , 2, d vs. Your program will then dynamically Yourp allocate three arrays to represent the three vectors as three arrays iin dimension-coordinates format using these values entered by the user 2. Your program will then display , 2 and v 3. Your program will compute and display + 4. Your program will compute and display (u2+ U3)ui andl|U1-U31 5. Your program will compute and display u.- and tal lull 6. Your program will prompt the user for three 3-dimensional vectors, say v4, vs, andYour program will then display these vectors. Using these vectors, your program will compute and display the remaining vector expressions. 7. Your program will compute and display 8. Your program will compute the unit vector of u4 US, ta t's. 9. Your program will compute and display ta (U3+ U6) 10. Your program will cornpute and display (V1 v5) + (v.x vo) 11. Finally, using the equal function, your program will determine whether or not the vectors calculated in 9 and 10 are equal

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!