ok i got it now! I just had to change to double to float at the top where I declare the variables. haha silly me. kk thanks
Type: Posts; User: team23
ok i got it now! I just had to change to double to float at the top where I declare the variables. haha silly me. kk thanks
ok so I changed the %d 's to %f. Value still comes to 0.000000 :(
sorry for the double post. It took forever to post so i pressed refreshed and i guess that what caused it. srry again.
Also, not to sure which FAQ you are talking about. Can you provide a url?
I cant get this program to return the hypotenuse value. Can someone please check this out? I'm sure it's a little mistake somewhere.
#include<stdio.h>
#include<math.h>
void main(void)
{
Ahh! I see now. That was easy. thank you
wow! thank you for the advice and instruction
How do I do that?
thanks
If I enter a letter when prompted to enter the temperature i get this error msg:
>Process failed to respond; forcing abrupt termination...
>Exit code: 1
I want to know how to make program...
How can I fix this so it can include the error msg. Also, the loop fails to include the error msg when an option other than 1 or 2 is entered.
#include <stdio.h>
int main(void)
{
When I enter a non-numerical value, the program crashes. How do I stop this? Also, my error msg does not display when I hit option other than 1 or 2 (><)
Here is the code:
#include <stdio.h>...
im still having problems can you show an example?
This program is suppose to be able to display the full address when inputed.
It can only display what is entered before the user hits the space bar.
For example:
When the program ask for the...
Doh!! Thank you. I was working on this really late last night, i must have missed the obvious.
hi! :) thank you for responding to my post. Can you please be a little specific?
the division part halts the code
Not sure what I'm doing wrong. Please help me debug this. Using C. Ch compiler.
#include <stdio.h> /* standard IO library routines, like printf, scanf */
int main(void)
{
Not sure what I'm doing wrong. Please help me debug this. Using C. Ch compiler.
#include <stdio.h> /* standard IO library routines, like printf, scanf */
int main(void)
{
Oh, that makes a lot more sense. thanks for the help
yeah, but look at what the equations are telling us to do. both of the IF functions are relevant to the given values, so why are they even separated? and is a=0 supposed to not be enclosed within any...
1. We can't learn c++ without learning c
2. If you know how to do it, then post it. We've found errors, but we're not sure if the operations even make sense.
Find and indicate all of the errors in the following program.
This is easy c not c++
void main(void)
{
int a;
int b;