Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


.import java.util.Scanner; 
public class pay1 

public static void main(String [] args) 

Scanner reader = new Scanner(System.in); 
double wage, days, hours; 
double pay; 

System.out.print("Wage?: "); 
wage= reader.nextDouble(); 
System.out.print("Days Worked: "); 
days= reader.nextDouble(); 
System.out.print("Hours worked: "); 
hours= reader.nextDouble(); 


System.out.print("Total pay before goverment steals away some: "); 

*Just make sure you line up the brackets up and modify it to suite your needs.
*This is just the basic outline of one.
*Methodology that NEVER, EVER changes when building a program or a complete system: 
- Determine the inputs you need. 
- Determine the outputs you need. 
- Determine how to do the calculations. 
- Put it all together

0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts