[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/Ayomal98/Java-Programs/master/ReverseOfArray.java [Back]  [Original]

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package reverse.of.array;

/**
 *
 * @author shubhendu
 */
import java.util.Scanner;
public class ReverseOfArray {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner in=new Scanner(System.in);
        int n=0,m=0,i,b;
        System.out.println("enter the row size of the array");
        System.out.println("enter the column size of the array");

        n=in.nextInt();
        m=in.nextInt();
        int arr[][]=new int[2][2];
        
        System.out.println("enter elements");
        for(i=0;i

Web Proxy Viewer  |  New URL  |  Original Page