Nevermind. I got it
Type: Posts; User: PureMotive
Nevermind. I got it
Thanks for your help guys. Everything works now except for the fact that when the program is run, it automatically prints the default grade when any three grades are entered. Help on this?
...
bump
How would I implement that bit of code into the program to make it work? Sorry for not understanding.
Yes, I understand the homework policy but if anyone can help me on this last problem, that would be greatly appreciated. It's my understanding that switch statements must be used, however I don't...
Does anyone know how to complete this problem from my code that I have provided? I know it might not be allowed to post answers on this forum, but any pointers would be helpful, espeically regarding...
Thanks it works now.
#include <stdio.h>
float input (void);
float conversion (float tempF, float *tempR, float *tempC, float *tempK);
int print (float tempF, float tempR, float tempC, float tempK);
int main...
Yeah that was the problem, but I managed a work-around.
I just put:
int temp;
printf("Enter an integer and press Enter to exit the program: ");
scanf("%d", &temp);
I have a little problem getting my code to work because when I run the program it allows me to enter in the numbers, but after doing so it immediately quits.
Here's the problem: Write two...
I keep getting errors. The only problem is that the program closes immediately and I did remove the scanf("%d",temp)
Thank you so much! That solved it
Here I have already written the code which prints the rightmost integer of a float number, however when I run the program and put in a number, the program closes immediately. Can anyone help me fix...
Hi guys,
I'm trying to write a code that takes the mass and velocity of an object and converts it into momentum and kinetic energy, however when i run the program, the calculation for the kinetic...