Any advice would be great. I watched a few videos over the last 3 weeks and made a program up; what do you think?
The program is a business ideal for a few computers in a shop, some computers with training and the rest of the computers without. (for gaming, etc.)
import java.util.Scanner;
public class n_com {
public static void main (String args []){
Scanner input = new Scanner (System.in);
double training,p_h,computer_training,computers,open;
double max,two,thre,four,five;
double two2,thre3,four4,five5,p;
System.out.print("please enter cost of training people up on the computer p/h £ ");
training =input.nextDouble();
System.out.print("please enter cost to use the pc p/h for general use £");
p_h=input.nextDouble();
System.out.print("please enter number of computer in the shop for training :");
computer_training =input.nextInt();
System.out.print("please enter number of computer in the shop for general use :");
computers =input.nextInt();
System.out.print("please enter hours open per week :");
open=input.nextDouble();
training = training * computer_training * open; //max income per week w/training
p_h = p_h * computers * open; //max income per week (gamers ect)
max = training + p_h;
two =0.2 * max; // 20% max total
thre =0.3 * max; // 30% max total
four =0.4 * max;
five =0.5 * max;
p = 0.45; // % of shop taking paid per week as wages
two2 = p * two; // 45% of the estimated shop taking (two = 0.20% of max)
thre3 = p * thre;
four4 = p * four;
five5 = p * five;
max = (max * 52 / 12);
System.out.println();
System.out.println ("maxim monthly income from the computers £ "+ max);
System.out.println();
System.out.println ("total income estimated over the next 2 years");
System.out.println();
System.out.println("estimated monthly income at mouth 1-3 \t:"+ two );
System.out.println("estimated monthly income at mouth 3-6 \t:"+ thre);
System.out.println("estimated monthly income at mouth 6-12\t:"+ four);
System.out.println("estimated monthly income at year 1-2 \t:"+ five);
System.out.println();
System.out.println("wages will be 45% of total income at the end of each mouth" );
System.out.println();
System.out.println("estimated monthly wages for mouth 1 - 3 £ "+ two2 );
System.out.println("estimated monthly wages for mouth 4 - 6 £ "+ thre3 );
System.out.println("estimated monthly wages for mouth 7 - 12 £ "+ four4 );
System.out.println("estimated monthly wages after the first year £"+five5);
}
}