User Profile

Collapse

Profile Sidebar

Collapse
newbprogrammer
newbprogrammer
Last Activity: Feb 17 '08, 11:27 AM
Joined: Feb 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks alot....it works now but if determinant is less then 0 how do i make the code say answer not valid or possible.. i just have to add (double b > 0)??
    See more | Go to post

    Leave a comment:


  • newbprogrammer
    started a topic Problem with mathematical function in program
    in C

    Problem with mathematical function in program

    I just started programming in c++ and i tried to explore and do programs on my own... So i wanted to do a program that would help me in my daily school work ... a program to solve quadratic equations.. I wrote the code correctly but errors are still detected and i have no idea why.. almost gave up and banged my head on the wall .. so i would really appreciate help.. This is the code so far..
    [code=cpp]
    #include <cmath>
    ...
    See more | Go to post
    Last edited by sicarie; Feb 17 '08, 01:46 PM. Reason: Please use code tags, they are there for a reason
No activity results to display
Show More
Working...