Yes for some reason I cant get the scanf to read a space. It reads it as the end of an input and places it the next slot in array i.e.
(input)
Please enter a name...
Bob Slater
please enter an...
Type: Posts; User: pabeyta
Yes for some reason I cant get the scanf to read a space. It reads it as the end of an input and places it the next slot in array i.e.
(input)
Please enter a name...
Bob Slater
please enter an...
I have actually found that by limiting my number of loops I get the desired results. but I am now having trouble filling the array correctly my scanf wont read a _ when inputting an address. For...
I am working on an assignment for class:
Create a program that allows a user to enter up to 10 addresses of friends. Use a two dimensional array to store the address of friends’. After each address...
You are correct if I do not get my ducks in a row, it is harder to count them. I think I was able to create the code after I did more research on arrays. Thank you for the push to do so.
Well "Grumpy," your name is fitting. As I previously stated, I am new to this and I am asking for help. There is no need to be pompous, if you find it too frustrating to help simply do not respond...
Alpo, I did not define how large the name is and I would prefer not to.
I keep getting an error i dont understand.....any advice?
Hello,
I am new to C and taking a class. I need some help with an assignment.
//Build a program that uses a single-dimension array to store 10 names input by a user.
//After inputting the names,...