PRogramNine

PRogramNine - import java.util.Scanner; import java.lang.*;...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: import java.util.Scanner; import java.lang.*; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; import java.lang.String; i public class PRogramNine { static int num,i,j,sum=0,temp; static int A={{1,2,-3}, {-4,5,6}, {7,8,9}}; static int B={{14,-1,3}, {4,-1,2}, {1,2,-3}}; static int C={{0,0,0}, {0,0,0}, {0,0,0}}; { public static void main(String args) { // purpose of the program System.out.println("****************************************************") ; System.out.println("*The purpose of this program is to allow the user *"); System.out.println("*evaluate matricies using different operations *"); System.out.println("* This Program is Menu Driven *"); System.out.println("****************************************************") ; System.out.println(); Scanner Console = new Scanner(System.in);// Scanner System.out.println(); System.out.println(); System.out.println("Please Enter the number of the program you would like to use"); System.out.println(); do {//The Menu choice System.out.println("***************************"); System.out.println("*1. ADDITION *"); System.out.println("*2. SUBTRACTION *");...
View Full Document

This note was uploaded on 06/17/2011 for the course COMP 2302 taught by Professor Staff during the Spring '11 term at Kennesaw.

Page1 / 4

PRogramNine - import java.util.Scanner; import java.lang.*;...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online