Hi,
I'm learning about pointers from a c programming book, and I tried to do some of the exercise problems.
In the book, every 'program' is written as one function with a main. But I'm trying...
Type: Posts; User: Michele Degges
Hi,
I'm learning about pointers from a c programming book, and I tried to do some of the exercise problems.
In the book, every 'program' is written as one function with a main. But I'm trying...
There's only one inside the loop.
I updated my code in the first post-
Thanks for your response. I wanted the calculations to be as accurate as possible so I changed the input from an int to a double. I also tried to clean up my code a bit but I'm still not getting the...
Ok, I see what you mean. I edited my code to scan user input after it prints "Value in the accum = n" .. so now I am being prompted for more input like I wanted..
but for some reason it always...
uhh no, that doesn't work.
10900
Edit: to clarify, I just need the user to keep being prompted to enter a new value. The output should look like this:
Initialize your Accumulator with data...
I'm trying to create a simple calculator that keeps prompting the user for input until the user enters the standard input ("number" "operator") and the operator = 'E'.
I know in java I'd just use...