🔒 Closed C language patulong po baguhan lang po ako mga master

Status
Not open for further replies.

m a e 0 9

Grasshopper

Vector Cross Products​

by CodeChum Admin
After doing the scalar product of vectors, we can now move to cross products. Taking a cross product of vectors is a bit trickier than getting the scalar product and so a hint was provided. Using the struct vector with components i,j, and k,create a program that accepts six integer inputs and computes for the cross product of two vectors.

Input
-10^7 <= i,j,k <= 10^7 Six int inputs, 3 per line with each input separated by a space
1·2·3
3·2·1

Output
Three int outputs each separated by a space
-4·-8·-4
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 617
    Views
  • 2
    Participants
Last reply from:
m a e 0 9

Trending Topics

Online now

Members online
1,243
Guests online
1,460
Total visitors
2,703

Forum statistics

Threads
2,287,342
Posts
29,044,002
Members
1,216,478
Latest member
kirolololol
Back
Top