Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read two strings and two integers from input and call printEmployeePay() to output as follows. Ex: If the input is Anwar Pilar 44800 38600, then

Read two strings and two integers from input and call printEmployeePay() to output as follows. Ex: If the input is Anwar Pilar 44800 38600, then the output is: Anwar earns 44800 dollars per year. Pilar earns 38600 dollars per year. } import java.util.Scanner; public class EmployeePay { public static void printEmployeePay(String var1, int var2) { System.out.println(var1 + " earns " + var2 + " dollars per year."); } public static void main (String [] args) { \\insert code here } }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions

Question

How can a horses age be determined by its teeth?

Answered: 1 week ago