PROGRAM_THREE

PROGRAM_THREE - //Jeremy Debruce //3/12/2009 //Professor...

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: //Jeremy Debruce //3/12/2009 //Professor Campbell / import java.util.Scanner; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; import java.lang.String; i public class PROGRAM_THREE { static int num,num1,num2,num3,num4; static double sum=0.00,ans; static Scanner scan = new Scanner (System.in); static DecimalFormat td = new DecimalFormat ("0.00"); static int i,a,b,l,m,o,p; public static void main (String args)throws FileNotFoundException { int num; System.out.println("****************************************************"); System.out.println("* The purpose of this program is to add, subtract, *"); System.out.println("* multiply, and divide fractions *"); System.out.println("* by using a Menu Driven Program. *"); System.out.println("****************************************************"); System.out.println(); System.out.println("Please enter the number of the operation you would like to use."); System.out.println(); do { //The Menu choice of Methods / System.out.println("******************"); System.out.println("*1. Addition System....
View Full Document

Page1 / 4

PROGRAM_THREE - //Jeremy Debruce //3/12/2009 //Professor...

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