Could you point me to the place that will help me figure out the multiple input? Thanks.
Type: Posts; User: celticpride
Could you point me to the place that will help me figure out the multiple input? Thanks.
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....
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.
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]);...
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...
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.
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...
And how does that help me? Instead of pointing me to other threads, can you please help me with the actual code?
Could you put me in the right direction?
I can do the first and third easily, just not the 2nd step.
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...
Thanks for the help.
Sounds good. Just to be sure - would the value of the second problem be 10 and 1024? Thanks for all the help so far.
Oh...45 for j?
A little more...so for the first problem - would i be equal to 10 and j 2?
I'm getting confused on the i++ and j +=i parts though
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...