Palindrome number
class PalindromeExample{ public static void main(String args[]){ int r,sum=0,temp; …Read More
To print the pyramid of stars
Following Java Program ask to the user to enter the number of rows to print the pyramid of stars
import java.util.Scanner;
public class JavaP…Read More
Matrix Addition program using java
Matrix Addition program using java
package day1;
import java.util.Scanner;
public class MatrixAddition {
public static void main(String[] args)…Read More
Verify a number is Even/Odd
.crayon-syntax .crayon-plain {
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
padding: 0 5px;
margin: 0;
border:…Read More
0 comments:
Post a Comment