PROGRAM_ONE

PROGRAM_ONE - 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
import java.util.Scanner; import java.lang.*; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; import java.lang.String; //Jeremy Debruce //Program ONE / public class PROGRAM_ONE { static int num; static Scanner scan = new Scanner(System.in);// Scanner static DecimalFormat td = new DecimalFormat ("0.00"); static double B_Val,amt_Dep; public static void main(String[] args) { // purpose of the program System.out.println("**************************************************"); System.out.println("*The purpose of this program is to tell how an *"); System.out.println("* item is depreciated over the years *"); System.out.println("* This Program is Menu Driven *"); System.out.println("**************************************************"); System.out.println(); Scanner scan = new Scanner(System.in);// Scanner 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 of Methods System.out.println("*********************************"); System.out.println("*1. Straight Line
Background image of page 1

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

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

Page1 / 4

PROGRAM_ONE - 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