can you help me out in solving this problem... i'm in my 1st year college with the course of info tech... i'm having problems on solving this..

develop a program that will dtermine the gross pay for each of several employees. the company pays " straight time" for the first 40 hrs worked by each employee and pays "time and a half" for all hrs worked in excess of 40 hrs. you are given a list of the employees of the company, the number of hours each emplotyee worked last week and the hourly rate of each employee. your program should input this information for each employee. display the employee's gross pay..


EXAMPLE :
ENTER NUMBER OF HOURS WORKED : 39
ENTER HOURLY RATE OF THE WORKER: 10.00
SALARY is $390.00

The instructions are a little unclear. Is the data coming from a text file, or do you have to input it from the keyboard, or both?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.