Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HELP
#1
Hi, everyone.

I'm new to this forum. I need help on this program.

Basic Program to compute and print a root of a general quadratic equation of the form ax^2 +bx + c = 0, considering when the discriminant is

I = 0
II > 0
III< 0

Assist please.
Reply
#2
Like has been said to me before, please display the code so that everyone can see exactly what you are trying to do and even make improvements.  By saying help and giving us the base of the program and no code, is code for, please code this for me.  From what I have seen in my brief period of being on these forums is that people will help as long as you provide what you have done so that we can see you have tried to do it yourself and really are having trouble.

I can not help you atm because vista hates QuickBasic and getting it onto my laptop is a problem when all I have is my laptop at school.  I am only here for a few more days so when I go home I can help but like said before please show up code or give us a .bas/.txt file so that we are able to see what you have tried.

Reply
#3
Like Tia said, we'll help if you already have tried to put some effort into it and have some code to prove it.

Secondly, though, this looks like homework, and it's a standing policy not to do people's homework. Is it?

Skyler
In the beginning, there is darkness – the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
Reply
#4
(12-16-2008, 06:13 AM)Skyler link Wrote:Like Tia said, we'll help if you already have tried to put some effort into it and have some code to prove it.

Secondly, though, this looks like homework, and it's a standing policy not to do people's homework. Is it?

Skyler

If they have tried we can lead them towards the correct answer, but yea I don't think we are able to say, oh just do (qb skills a little low atm so just deal with the if then/any syntax I have a little wrong)

if x<0 then
print "loop again"
x = x +1
end if

but we could say something like, ok from what you have stated you start at a number that is lower than 0 like -51 for example and you need x = 0.  So to do this you need to perform a loop that will loop (for lack of a better term) until x=0.  You can do this many ways and some of the most popular choices are if then or for next.

See we gave the person who at least tried it a starting point but didn't give a direct answer.
Reply
#5
I can
t help but post this Greek saying:
"The gods help those who help themselves".  For this forum, the saying is:
"We help those who help themselves".

Another old saying is,
"Gos alwyas helps; He does the last part".  Or, for here:
"We always help;we do the last part".

Etc., etc.
Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)