Sorry if it does not make sense, I am sort of new to all of this.
I have to do calculations with the data from the input file. The input file is laid out as:
Shop A (Shop A)
NoOfStaff (6)...
Type: Posts; User: iCurtisIT
Sorry if it does not make sense, I am sort of new to all of this.
I have to do calculations with the data from the input file. The input file is laid out as:
Shop A (Shop A)
NoOfStaff (6)...
while (inFile.hasNextDouble())
{
if (inFile.hasNext())
{
number_of_staff = inFile.nextDouble();
hours_worked = inFile.nextDouble();
pay_rate = inFile.nextDouble();...
Hello, I am wondering if someone can help me with a problem I have.
I am using the hasNext() method to read from a file. I have multiple parts in the text file.
Shop A
NoOfStaff
HoursWorked...