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...
Type: Posts; User: alias
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...
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....
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...
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...
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!
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...
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,...
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...
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*/
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...
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...