Vous êtes sur la page 1sur 6

//

Output
enter values :
3.5
4.5
First complex number is :
real = 3.5
img = 4.6
3.5+4.6i
Second complex number is :
real = 2.5
img = 3.5
2.5+3.5i
addition of 2 complex number is
real = 6
img = 8
6+8i
subtraction of 2 complex number is
real = 1
img = 1
1+1i
multiplication of 2 complex number is
real = -7
img = 23.5
-7+23.5i

//OUTPUT
Enter how many elements(max 50)?
12
Enter values
34
54
78
2
99
66
14
70
23
6
78
33
largest element=99
smallest element=2

Do you want to continue(y/n): n


***********Thank You************

//

OUTPUT

Enter the number to be reversed


2364
The reversed number is:
4
6
3
2
The total of nos is:15
Do you wish t
//
OUTPUT:
Enter the order for 1st matrix 2 3
Please enter the numbers
1 3 5
2 4 6
Enter the order for 2nd matrix 2 3
Please enter the numbers
7 9 11
8 10 12
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix

5 for Transpose of Second Matrix


6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
1
The Addition of the two Matrices are
8
12
16
10
14
18
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix
6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
2
The Subtraction of the two Matrices are
-6
-6
-6
-6
-6
-6
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix
6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
3
Matrix Multiplication is not possible
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices

2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix
6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
4
The Transpose Matrix is
1
2
3
4
5
6
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix
6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
5
The Transpose Matrix is
7
8
9
10
11 12
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix
6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix

9 for Skew Symmetric Matrix of Second Matrix


6
Symmetric test is not possible for First Matrix
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix
6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
7
Symmetric test is not possible for Second Matrix
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix
6 for Symmetric Matrix of First Matrix
7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
8
Skew Symmetric test is not possible for First Matrix
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: y
Enter the following integer options :
1 for Addition of Matrices
2 for Substraction
3 for Multiplication
4 for Transpose of First Matrix
5 for Transpose of Second Matrix

6 for Symmetric Matrix of First Matrix


7 for Symmetric Matrix of Second Matrix
8 for Skew Symmetric Matrix of First Matrix
9 for Skew Symmetric Matrix of Second Matrix
9
Skew Symmetric test is not possible for Second Matrix
Do you want to continue (Press Y or y for "YES" and N or n for "NO")?: n
Have a nice Day...
o continue(y/n): n

Vous aimerez peut-être aussi