subject

I need some help - I'm working on this assignment for my Intro to Java class and I'm getting the following error: "input_scanner. java:27: error: incompatible types: void cannot be converted to String". Below is an attachment of my code with the bug included. Any help would be gladly appreciated.


I need some help - I'm working on this assignment for my Intro to Java class and I'm getting the f

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:31
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
question
Computers and Technology, 24.06.2019 23:50
Which career involves analyzing various factors that influence the customer decision-making process? analyze various factors that influence the customer decision-making processes. reset next
Answers: 2
question
Computers and Technology, 25.06.2019 10:30
Design a payroll class with the following fields: β€’ name: a string containing the employee's name β€’ idnumber: an int representing the employee's id number β€’ rate: a double containing the employee's hourly pay rate β€’ hours: an int representing the number of hours this employee has worked the class should also have the following methods: β€’ constructor: takes the employee's name and id number as arguments β€’ accessors: allow access to all of the fields of the payroll class β€’ mutators: let the user assign values to the fields of the payroll class β€’ grosspay: returns the employee's gross pay, which is calculated as the number of hours worked times the hourly pay rate. write another program that demonstrates the class by creating a payroll object, then asking the user to enter the data for an employee in the order: name, id number, rate, hours. the program should then print out a statement in the following format (for example, if you had an employee named chris jacobsen with id number 11111, who works for 5 hours at $10/hr): chris jacobsen, employee number 11111, made $50.00 in gross pay. using text forming so that the gross pay is rounded to two decimal places.
Answers: 2
question
Computers and Technology, 25.06.2019 16:00
Nasa’s long term goal is for travel in space to be as as travel across the atlantic. however, we are away from that.
Answers: 1
You know the right answer?
I need some help - I'm working on this assignment for my Intro to Java class and I'm getting the fol...
Questions
Questions on the website: 13722360