subject

Dispositivo de entrada

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 25.06.2019 05:00
How does computer network work in a paragraph
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
Memory aids that organize information for encoding are
Answers: 3
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 15:10
Write a program to compute the ideal weight for both males and females in java. according to one study, the ideal weight for a female is 100 pounds plus 5 pounds for each inch in height over 5 feet. for example, the ideal weight for a female who is 5'3" would be 100 + 3*5 = 115 pounds. for a male, the ideal weight is 106 pounds plus 6 pounds for each inch in height over 5 feet. for example, the ideal weight for a male who is 5'3" would be 106 + 3*6 = 124 pounds. your program should ask the user to enter his/her height in feet and inches (both as integers—so a person 5'3" would enter the 5 and the 3). it should then compute and print both the ideal weight for a female and the ideal weight for a male. the general outline of your main function would be as follows: (1) declare your variables (think about what variables you need—you need to input two pieces of information, then you need some variables for your calculations (see the following steps) (2) get the input (height in feet and inches) from the user (3) compute the total number of inches of height (convert feet and inches to total inches (note: 1 foot equal 12 inches and hence 5 feet equal 60 inches. (4) compute the ideal weight for a female and the ideal weight for a male (5) print the answers.
Answers: 2
You know the right answer?
Dispositivo de entrada...
Questions
question
History, 28.11.2020 03:20
question
Mathematics, 28.11.2020 03:20
Questions on the website: 13722359