Post has attachment
Write a program to find the maximum element in each row of the matrix.
Input Format:
The input consists of (m*n+2) integers.
The first integer corresponds to m, the number of rows in the matrix and the second integer corresponds to n, the number of columns in the matrix.
The remaining integers correspond to the elements in the matrix. The elements are read in row-wise order, the first row first, then second row and so on. Assume that the maximum value of m and n is 10.

Sample Input:
Enter the number of rows in the matrix
3
Enter the number of columns in the matrix
2
Enter the elements in the matrix
4 5
6 9
0 3
Sample Output:
5
9
3
Maximum Element In Each Row
smartcode4u.blogspot.in
Post has attachment
Write a program to perform matrix multiplication. Assume only square matrices of the same dimension.

Input Format:
The input consists of (2*(m*m)+1) integers.
The first integer corresponds to m, the number of rows/columns in the matrix.
The next m*m integers correspond to the elements in the first matrix.
The last m*m elements correspond to the elements in the second matrix. The elements are read in row-wise order, the first row first, then second row and so on. Assume that the maximum value of m is 10.

Sample Input :
Enter the number of rows and columns in 2 matrices
2
Enter the elements in the first matrix
4 5
6 9
Enter the elements in the second matrix
1 2
3 4
Matrix Multiplication
smartcode4u.blogspot.in
Post has attachment
Write a Java Program that reads a file name from the user, then displays information about whether the file exists, whether the file is readable, whether the file is writable, the type of file and the length of the file in bytes.
Post has attachment
Algebraic Expressions:

An algebraic expression is a legal combination of operators and operands. Operand is the quantity on which a mathematical operation is performed. Operand may be a variable like x, y, z or a constant like 5, 4, 6 etc. Operator is a symbol which signifies a mathematical or logical operation between the operands. Examples of familiar operators include +, -, *, /, ^ etc. An algebraic expression can be represented using three different notations. They are infix, postfix and prefix notations:
Post has shared content
The third video from TheSuperProgrammer is out... Have a look at it, feedbacks are really appreciated.

Don't forget to like and Subscribe : )
Post has attachment
Write a C++ program to calculate prime number using Constructor.

Program Algorithm:
Step 1: Include the header files
Step 2: Declare the class as Prime with data members and Member functions.
Step 3: Consider the argument constructor Prime () with integer Argument.
Step 4: To cal the function calculate () and do the following steps.
Step 5: For i=2 to a/2 do
Step 6: Check if a%i==0 then set k=0 and break.
Step 7: Else set k value as 1.
Step 8: Increment the value i as 1.
Step 9: Check whether the k value is 1 or 0.
Step 10: If it is 1 then display the value is a prime number.
Step 11: Else display the value is not prime.
Post has attachment
Write a Java Program that reads a file name from the user, then displays information about whether the file exists, whether the file is readable, whether the file is writable, the type of file and the length of the file in bytes.
Post has attachment
Write a C++ program to illustrate the single inheritance using the banking system as an example.

Program Algorithm:
Step 1: Include the Header file.
Step 2: Create a forward declaration of a class.
Step 3: Create a new class that has certain member functions and methods.
Step 4: Create the class earlier defined in step 2 and Create it inherit from the class in step 2 using the resolution: operator
Step 5: Now create an object of the sun class and Create it call some methods you defined in step 2.
Post has attachment
Write a Java program that displays the number of characters, lines, and words in a text file.

Program Code in JAVA:
import java.io.*;
import java.util.*;
class FileCount
Post has attachment
Write a C++ program to calculate prime number using Constructor.

Program Algorithm:
Step 1: Include the header files
Step 2: Declare the class as Prime with data members and Member functions.
Step 3: Consider the argument constructor Prime () with integer Argument.
Step 4: To cal the function calculate () and do the following steps.
Step 5: For i=2 to a/2 do
Step 6: Check if a%i==0 then set k=0 and break.
Step 7: Else set k value as 1.
Step 8: Increment the value i as 1.
Step 9: Check whether the k value is 1 or 0.
Step 10: If it is 1 then display the value is a prime number.
Step 11: Else display the value is not prime.