Latest :

C Program : Non-Repeating Elements of An Array | C Programs

The problem statement given is, to write a C program to display the non-repeating elements in a given array. To find the non-repeating characters, we require the number of elements in the array and the data values or elements of the array as inputs. Our desired output at the end is for all the non-repeating elements in this array to ...

Read More »

C Program : Check if An Array Is a Subset of Another Array

Write a C program to check whether a given array is a subset of another given array. We can call an array a subset of another array if all the elements of the array are present in the other array as well. The set of inputs required are the sizes or number of elements in the two arrays along with ...

Read More »

C Program : To Find Maximum Element in A Row | C Programs

Write a C program to find the maximum element in each row of a given square matrix. To do so, we require the size of the square matrix and the data values or elements of the square matrix as input. Our desired output is the maximum value of each row being displayed on the console screen in the end. The ...

Read More »

C Program : Rotate the Matrix by K Times | C Porgrams

Write a C program to rotate the given square matrix by k times. To implement this, we require the size of square matrix along with the elements or data values of the square matrix. The desire output is also a matrix of 2D array after rotating the input array k times, Rotate matrix by 90 degrees clockwise The first step ...

Read More »

C Program Sum of Each Row and Column of A Matrix | C Programs

Write a C program to find the sum of each row and column of a given square matrix (2D array). To find the sum, the inputs required are, the size of the square matrix along with the elements of the square matrix. The resultant output desired at the end is the sum of each row and column in the matrix. ...

Read More »

C Program : To Find the Maximum Element in a Column

Write a C program to find the maximum element in each column of a given matrix. To do so, we require the size of matrix or 2D array and the elements of the array as inputs. Our desired output is the maximum element of each column displayed on the console screen. For this, the first step is to gather all ...

Read More »

C Program : Rotate a Given Matrix by 90 Degrees Anticlockwise

The problem statement here is, to write a C program to rotate a given square matrix by 90 degrees anticlockwise. To implement this, we need the size of the square matrix and the elements of the square matrix (2D array) as inputs. Our desired output is also a matrix or 2D array after completion of 90 degree rotation in the ...

Read More »

Java Program Calculate Perimeter Of Square | Programs

Java Program to calculate the perimeter of a square – In this particular piece, we will explain the various ways to calculate the perimeter of a square in Java Programming. Suitable examples and sample programs are added for the better understanding of the given topic. The compiler has been added as well so that you can execute it yourself fairly ...

Read More »

Java Program To Calculate Perimeter Of Rhombus | 3 Ways

Java Program to calculate the perimeter of a rhombus – In this distinct article, we will brief in on the multiple methods of calculating the perimeter of a rhombus. Suitable examples and sample programs have been added to the blog for better understanding. The compiler has also been added so that you can execute it yourself. The ways used in ...

Read More »

HCF Of Two & N Numbers Java Program | 3 Ways

Java program to find HCF of two numbers – The below given Java programs explains the process of evaluating the Highest Common Factor(HCF) between two given numbers. The methods used to find the HCF of two numbers is Java Programming is as follows: Using Command Line Arguments Using Static method Using Recursion In the end, we will discuss how to ...

Read More »