Posts

Showing posts from July, 2018

ROT 13 Program in JAVA

ROT 13 Program in JAVA  ROT 13 means ROTATE 13 . It is an Encryption Scheme which works by cyclic shifting of each Lower Case and Upper Case letter 13 position. Example :-  Input -  Encryption Output - Rapelcgvba

Sort 2-D Array in Java

Image
Sort 2-D Array in Java In this Program we have to SORT a 2-D Matrix in ascending order. Ex - 

Sum of Diagonals of a Matrix

Image
Sum of Diagonals of a Matrix Easiest Program to calculate the sum of LEFT and RIGHT  diagonal of a  Matrix of order ( m x n) where m = n in JAVA. Example :-