Question: Hello, I already finish the coding in C language. I don't know how to change it to pseudocode. So I need answer for the pseudocode.

 Hello, I already finish the coding in C language. I don't

know how to change it to pseudocode. So I need answer for

Hello, I already finish the coding in C language. I don't know how to change it to pseudocode. So I need answer for the pseudocode.

#include float det3(float A[3][3]); int main(void) { float A[3][3]; float B[3]; printf ("This program uses Cramer's Rule to solve a linear system."); printf (" Enter each of 3 linear equations as four integers separated by space"); printf (" For example, X 2y + 3z = 4 should be entered as 1 -2 3 4"); printf(" Enter equation 1: "); scanf("%f %f %f %f", &A[0][0], &A[0][1], &A[0][2], &B[0]); printf("Enter equation 2: "); scanf("%f %f %f %f", &A[1][0], &A[1][1], &A[1][2], &B[1]); printf("Enter equation 3: "); scanf("%f %f %f %f", &A[2][0], &A[2][1], &A[2][2], &B[2]); // Finding determinants/ float detx[3][3] = {{B[0], A[0][1], A[0][2]}, {B[1], A[1][1], A[1][2]}, {B[2], A[2][1], A[2][2]}}; float dety[3][3] = {{A[0][0],B[0], A[0][2]}, {A[1][0],B[1], A[1][2]}, {A[2][0];B[2], A[2][2]}}; = float detz[3][3] {{A[0][0],A[0][1], B[0]}, {A[1][0], A[1][1], B[1]}, {A[2][0], A[2][1],B[2]}}; 7* Code that determines if the system has a unique solution */ if(det3(A) !=0) printf(" System has a unique solution ( %.1f, %.1f, %.1f)", det3(detx)/det3(A), det3(dety) / det3(A), det3(detz)/det3(A)); else printf(" System does not have a unique solution because determinant is 0"); return 0; } float det3(float A[3][3]) { return (A[0][0]*A[1][1]*A[2][2])-(A[@] [0]*A[1][2]*A[2][1]). +(A[0][1]*A[1][2]*A[2][0])- (A[0][1]*A[1][0]*A[2][2]) +(A[0][2]*A[1][0]*A[2][1])- (A[0][2]*A[1][1]*A[2][0]); }

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!