Why is it that when I run this, I it will ask for the name the first time but when it loops around it will skip asking for name and go straight to asking for the account number??
I just cant seem to...
Type: Posts; User: wwwildbill
Why is it that when I run this, I it will ask for the name the first time but when it loops around it will skip asking for name and go straight to asking for the account number??
I just cant seem to...
Thanks guys
Im not trying to sort the characters individually. Is that what you are saying I should do? I just want the name to stay with all of the other info (account_num and balance). Sorry new to C. Do i...
Im having trouble sorting the name array in my bubble sort. The sort works fine with just the account number and balance, but when i add the name into it it doesnt work. Im sure it has something to...
I'm a newbie to C and I'm trying to sort this program by account_num but the bubble sort just wont seem to work. Its say "int to int lacks a cast" What does this mean and what can i do to fix it. ...
ok well im just trying to understand this.
I thought when i do the prototype it just something like:
float name(int, float[], float[]);
then i thought when u call it its
name(variable1,...
#include <stdio.h>
float ot_pay(int, float[], float[]);
float calculate_gross(int, int, float[], float[], float[]);
main()
{
/*Variables*/
Thanks so much! Cant believe I missed that!
I read that and dont exactly know what you mean. how would i go about fixing this problem?
#include <stdio.h>
float ot_pay(int, float, float);
main()
{
/*Variables*/
int employees, x;
ya i fixed that and still same error.
#include <stdio.h>
float ot_pay(int, float, float);
main()
{
/*Variables*/
int employees, x;
Thanks
How would I assign that??? Sorry for my incompetence Im new at this.
#include <stdio.h>
int get_employees(int);
main()
{
/*Variables*/
int employees;
get_employees(employees); /*call function*/