Search:

Type: Posts; User: celticpride

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,446

    Could you point me to the place that will help me...

    Could you point me to the place that will help me figure out the multiple input? Thanks.
  2. Replies
    4
    Views
    1,446

    Help fixing bugs in program?

    I'm in the process of writing a program. I've written most of it, but there are a few things that I can't seem to fix. Firstly, after the user inputs "h" or "t," the output gets displayed twice....
  3. Thanks for the response. I switched the for loops...

    Thanks for the response. I switched the for loops in the function to initialize a 0, which appears to have fixed the issue. I'll keep testing different scenarios, however.
  4. Here is my updated code with a sort function...

    Here is my updated code with a sort function included. It's still not printing the temperatures in ascending order for some reason. Ideas?


    #include <stdio.h>
    float find_max_temp(float temp[5]);...
  5. Help printing array in ascending order in C programming?

    Hello.

    I've been given an assignment to print temperatures that the user enters (using arrays) into ascending order. I've written most of the code, but am stuck on building the if statements that...
  6. Replies
    4
    Views
    8,378

    I can write a function for one user input...

    I can write a function for one user input relatively easily - it's just when it gets to five. I'm not sure where to even start with it.
  7. Replies
    4
    Views
    8,378

    Printing asterisks using user input

    Hello. I'm in the process of writing a program that does the following:

    1. Ask user for input of five numbers, each between 1 and 30
    2. Check if those numbers are between 1 and 30 (if not, tell...
  8. And how does that help me? Instead of pointing me...

    And how does that help me? Instead of pointing me to other threads, can you please help me with the actual code?
  9. Could you put me in the right direction?

    Could you put me in the right direction?
  10. I can do the first and third easily, just not the...

    I can do the first and third easily, just not the 2nd step.
  11. Help writing program that asks user for number and prints sum of all numbers between

    Hello, I've been given a problem where I need to ask the user to input a number between 1 and 100. The program should then take that number and display the sum of all the numbers between the number...
  12. Replies
    12
    Views
    1,168

    Thanks for the help.

    Thanks for the help.
  13. Replies
    12
    Views
    1,168

    Sounds good. Just to be sure - would the value of...

    Sounds good. Just to be sure - would the value of the second problem be 10 and 1024? Thanks for all the help so far.
  14. Replies
    12
    Views
    1,168

    Oh...45 for j?

    Oh...45 for j?
  15. Replies
    12
    Views
    1,168

    A little more...so for the first problem - would...

    A little more...so for the first problem - would i be equal to 10 and j 2?
  16. Replies
    12
    Views
    1,168

    I'm getting confused on the i++ and j +=i parts...

    I'm getting confused on the i++ and j +=i parts though
  17. Replies
    12
    Views
    1,168

    What are the following values

    Hello,

    I'm very confused on what the following problems will print. The question is asking for the value of i and j after execution. Could someone please help me solve these (and describe why they...
Results 1 to 17 of 17