It doesnt have a main function, it is just a user-defined function, also i want it to print out the result but was not doing that.
[QUOTE=abs.emailverify]
float quadratic(float x1, float x2)...
Type: Posts; User: abs.emailverify
It doesnt have a main function, it is just a user-defined function, also i want it to print out the result but was not doing that.
[QUOTE=abs.emailverify]
float quadratic(float x1, float x2)...
Hello all,
I want to rewrite the quadratic equation as a function and as a function in the main. Below are the two programs but was not giving accourate answer.
For the function alone:
float...
Honestly, i dont know what I could have done without the able and intelligent people in this forum, I did it and it works great. Thanks so much.
God bless you, it works very fine.
I use Borland C 5.5 and got the same error as well.
Hello all,
I hope I am not bombarding you with my problem but I need to know what was wrong with the code below:
/* program to calculate the root of a quadratic equation*/
#include <stdio.h>...
Changed, now looping but not calculating. I am doing something wrong. Please help me out.
/* program to calculate the cumulative products of a set of numbers*/
#include <stdio.h>
#include...
Done it now and still the same problem persists
/* program to calculate the cumulative products of a set of numbers*/
#include <stdio.h>
#include <math.h>
main()
{
float num,...
Hello all,
Please I need your help again as I am stuck. I wrote a program to calculate the cumulative product of set of numbers. The program compiled but was not looping. Below is the code
/*...
Thank you a lot. I have done it and is working. I so much appreciate your effort in helping me solve this problem.
I did that but I am not getting the correct answer, I use my calculator and I got a different answer. No matter the values I entered I got 1.00 as answer or maybe I am doing something wrong?
Thank you so much, it works.
But i want to calculate x^y(x raise to power y) and dont how to write the statement in C, anyone here to help?
Hello all,
I wrote a C program and I compile with Miracle C - a C compiler software, the program was compiled successfully but does not do any calculations under it. All the calculations I put there...