I compiled it and it works, the x's are off but im sure thats my equations, thanks so much for your help, I really appreciate it.:)
Type: Posts; User: swisner
I compiled it and it works, the x's are off but im sure thats my equations, thanks so much for your help, I really appreciate it.:)
im sorry i dont understand what youre saying i have to do, this is the first class ive ever taken in programming and about as new to it as you can get :) ummm, i tried writing a second program using...
Thanks, the & worked for the A B and C when i put in numbers for them this is what I got:
iacs5.ucsd.edu 34: a.out
Enter (double) A, B, C:
1. 2. 3.
Enter (double) x:
Case 1
x value is = 0...
you were right :) i added in the brackets and its actually compiling now, but it core dumps every time i put in numbers. heres what i have now:
#include<stdio.h>
#include<math.h>
main()
{...
im writing this code and i cant get the if else part to work, and posts that might help would be greatly appreciated
thanks
#include<stdio.h>
#include<math.h>
main()
{
#include<stdio.h>...
ok i tried changing the ch = a to ch == a and it still isnt working, so i changed the a to 4 the b to 3 the c to 2 and the d to 1 and left it as ch = 4 and that sort of worked, also i dont understand...
im sorry also if anyone knows how to get it to stop core dumping cause ive tried adding a & and changing the first part from %f to %d neither worked so far.
thanks
i tried switching it to %lf and its still not going through and the whole line with b = ("(%lf) /12."), r; is because in the later equations i need the monthly interest rate which is the annual...
I tried doing the & thing and this it still gave me a core dump, and i changed the ^ sign, thanks for all your help i really appreciate it
#include<stdio.h>
#include<math.h>
main()
{
double...
if ^ is not a power what is a power?
im sorry, im brand new at this im using ssh secure shell program to write this and i dont know anything about indenting. all i know is when i try to run it it keeps giving me these errors
HW3.c:...
i hope im doing this right, im sorry i dont know anything about programming. This was my assignment:
/*
MAE9: Homeworki #3, Spring 2003
Due on...