diff --git a/jee1 b/jee1 new file mode 100644 index 0000000..e19e8f9 --- /dev/null +++ b/jee1 @@ -0,0 +1,23 @@ +import numpy as np + +# Create an array + +array = np.array([[1, 2, 3], [4, 5, 6]]) + +# 1. Type of array + +array_type = type(array) + +print("Type of array:", array_type) + +# 2. Shape of array + +array_shape = array.shape + +print("Shape of array:", array_shape) + +# 3. Type of elements in array + +element_type = array.dtype + +print("Type of elements in array:", element_type) diff --git a/jeev2 b/jeev2 new file mode 100644 index 0000000..9eb5c45 --- /dev/null +++ b/jeev2 @@ -0,0 +1,10 @@ +#include +#include +void main() +{ +Int a=10, b=10, c; +clrscr(); +c=a+b; +printf("C=%d", c) +getch(); +}