🔒 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
  • 614
    Views
  • 2
    Participants
Last reply from:
m a e 0 9

Online now

Members online
1,042
Guests online
688
Total visitors
1,730

Forum statistics

Threads
2,276,966
Posts
28,973,387
Members
1,229,669
Latest member
zeeeee345
Back
Top