I am trying to load my array from text read from a file. My text file looks like this:
a 50.00 2.00
b 40.00 2.00
c 40.00 2.00
d 50.00 2.00
e 40.00 2.00
My function to read the data works...
Type: Posts; User: wendioo
I am trying to load my array from text read from a file. My text file looks like this:
a 50.00 2.00
b 40.00 2.00
c 40.00 2.00
d 50.00 2.00
e 40.00 2.00
My function to read the data works...
I used your previous advice and I've experimented a lot of things to fix my employeedata function alone but I keep getting errors. The thing is it worked when my friend used it in linux, but when I...
A warning, I am a super beginner and I am having great difficulty and frustration trying to write this program I need to do for school. Any help will be greatly appreciated.
I need to write a...
Sorry, I am a complete beginner so I am not so great at this yet. How do I give scanf the address then? I thought I was doing that by using *ch because it's a pointer, or is it, am I doing pointers...
I need to make a function that asks for user input and prints it. I need to display name, hours worked, and hourly rate. It is not working and I do not know what I am doing wrong. Can anyone help?
I...
I've written my code but my first scanf that asks for user input asks for two numbers and I only want it to ask for one. Can someone tell me what I've done wrong?
Here is my code:
#include...
I have to write a program that calculates 5 employees' work hours and pay and prints it all in a list using a for loop. I also have to store user input into an array. And if -1 is entered by the user...