Search:

Type: Posts; User: alias

Search: Search took 0.00 seconds.

  1. But the thing is is I need Num_Temps to be able...

    But the thing is is I need Num_Temps to be able to change. So if the user wants to be able to in out on 16 temperatures they would only have to put 16. With it being stuck as 25 then I'm can't have...
  2. Need help with returning variables from a function

    hi guys, I need a little help with this program I'm writing. I need it to send the information in My_Temp to the main function. But the problem I'm having is it's in an array so I'm a little loss....
  3. Replies
    1
    Views
    1,263

    Change Program...

    So I'm making a change program! Exciting! :D
    I've only learned how to use loops... And if else statements.
    So I used a lot of if/else statements in my code and was hoping there's a more efficient...
  4. Replies
    2
    Views
    2,066

    The sum of the numbers entered in a loop

    I'm trying to get the total sum of numbers entered in the loop to be printed out but also I have it so it counts how many times a number is entered in. I just can't figure out how to store each...
  5. Replies
    4
    Views
    1,185

    Thank you! I finally got it down, not sure why it...

    Thank you! I finally got it down, not sure why it wasn't clicking earlier. Took me a few times to walk away from it and come back later until it finally came to me. Thank you again!
  6. Replies
    4
    Views
    1,185

    printf("A:%6.2lf %6.2lf %6.2lf %6.2lf %6.2lf...

    printf("A:%6.2lf %6.2lf %6.2lf %6.2lf %6.2lf \nB:%-6i %-6i %-6i %-6i %-6i \n\n",

    alpha1, alpha2, alpha3, alpha4, alpha5, b1, b2, b3, b4,b5)


    It seems like none of them work. With 6.2lf...
  7. Replies
    4
    Views
    1,185

    Allignment Issues with Printf

    Hey guys I'm just trying to get some numbers to line up vertically when it prints out... For example....



    printf("A:%.1lf %.1lf %.1lf %.1lf %.1lf \nB:%i %i %i %i %i \n\n",
    alpha1,...
  8. Thread: Battleship help!

    by alias
    Replies
    1
    Views
    3,151

    Battleship help!

    Okay guys! Maybe you can help me out, I'm making a battleship game. I already did the main assignment so now I'm trying to do the extra credit portion. The extra credit part requires for us to...
  9. Replies
    12
    Views
    5,979

    So I think I'm sucking at life.. This is what I...

    So I think I'm sucking at life.. This is what I have so far...



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

    int main(void)
    {
    /* List of Variables*/
  10. Replies
    12
    Views
    5,979

    I kind of get what you guys are saying, thank you...

    I kind of get what you guys are saying, thank you so much for the help! Another quick question, Tater, why are there two do's in that function? I've never seen that before. I have a feeling it's kind...
  11. Replies
    12
    Views
    5,979

    Help with a automated cash program! PLEASE!

    Hey guys, this is my first post and I'm brand new to programming. My teacher is having me make an automated cash program that...

    1. Only allows the user to enter a dollar amount up to a 100, the...
Results 1 to 11 of 11