Search:

Type: Posts; User: team23

Search: Search took 0.01 seconds.

  1. ok i got it now! I just had to change to double...

    ok i got it now! I just had to change to double to float at the top where I declare the variables. haha silly me. kk thanks
  2. ok so I changed the %d 's to %f. Value still...

    ok so I changed the %d 's to %f. Value still comes to 0.000000 :(
  3. sorry for the double post. It took forever to...

    sorry for the double post. It took forever to post so i pressed refreshed and i guess that what caused it. srry again.
    Also, not to sure which FAQ you are talking about. Can you provide a url?
  4. program calculates hypotenuse. float value always returns 0.

    I cant get this program to return the hypotenuse value. Can someone please check this out? I'm sure it's a little mistake somewhere.




    #include<stdio.h>
    #include<math.h>

    void main(void)
    {
  5. Ahh! I see now. That was easy. thank you

    Ahh! I see now. That was easy. thank you
  6. wow! thank you for the advice and instruction

    wow! thank you for the advice and instruction
  7. How do I do that? thanks

    How do I do that?
    thanks
  8. If I enter a letter when prompted to enter the...

    If I enter a letter when prompted to enter the temperature i get this error msg:

    >Process failed to respond; forcing abrupt termination...
    >Exit code: 1

    I want to know how to make program...
  9. Loop fails to include error msg. Also, program crashes when non number entered

    How can I fix this so it can include the error msg. Also, the loop fails to include the error msg when an option other than 1 or 2 is entered.



    #include <stdio.h>


    int main(void)
    {
  10. Help: prevent program from crashing by entering non numerical value.

    When I enter a non-numerical value, the program crashes. How do I stop this? Also, my error msg does not display when I hit option other than 1 or 2 (><)
    Here is the code:



    #include <stdio.h>...
  11. Replies
    5
    Views
    2,820

    im still having problems can you show an example?

    im still having problems can you show an example?
  12. Replies
    5
    Views
    2,820

    Program does not printf after spaces.

    This program is suppose to be able to display the full address when inputed.
    It can only display what is entered before the user hits the space bar.
    For example:
    When the program ask for the...
  13. Doh!! Thank you. I was working on this really...

    Doh!! Thank you. I was working on this really late last night, i must have missed the obvious.
  14. hi! :) thank you for responding to my post. Can...

    hi! :) thank you for responding to my post. Can you please be a little specific?
  15. the division part halts the code

    the division part halts the code
  16. Please halp, the code will not run...simple division.

    Not sure what I'm doing wrong. Please help me debug this. Using C. Ch compiler.


    #include <stdio.h> /* standard IO library routines, like printf, scanf */




    int main(void)
    {
  17. program will not run when using simple division...:(

    Not sure what I'm doing wrong. Please help me debug this. Using C. Ch compiler.


    #include <stdio.h> /* standard IO library routines, like printf, scanf */




    int main(void)
    {
  18. Replies
    10
    Views
    2,429

    Oh, that makes a lot more sense. thanks for the...

    Oh, that makes a lot more sense. thanks for the help
  19. Replies
    10
    Views
    2,429

    yeah, but look at what the equations are telling...

    yeah, but look at what the equations are telling us to do. both of the IF functions are relevant to the given values, so why are they even separated? and is a=0 supposed to not be enclosed within any...
  20. Replies
    10
    Views
    2,429

    1. We can't learn c++ without learning c 2. If...

    1. We can't learn c++ without learning c

    2. If you know how to do it, then post it. We've found errors, but we're not sure if the operations even make sense.
  21. Replies
    10
    Views
    2,429

    find and indicate all errors

    Find and indicate all of the errors in the following program.
    This is easy c not c++



    void main(void)

    {
    int a;
    int b;
Results 1 to 21 of 22