facing a problem while running my c++ program (run time error)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hala Civil
    New Member
    • Dec 2010
    • 4

    facing a problem while running my c++ program (run time error)

    good evening,well i'm kinda facing a problem while running my c++ program (run time error!!),the program contains a large number of if statements but all gathering around the same point,,,it's designed to assign values for factors z1f_a1 ,z2f_a1 ,z1r1_a1 , z2r2_a1, if certain conditions of H,A,K1,K2 are met...
    the code is attached as a txt file,plz i need help before 40 hours.
    thx :)
    Attached Files
  • newb16
    Contributor
    • Jul 2008
    • 687

    #2
    I entered all ones for all questions and it was ok.

    Comment

    • Hala Civil
      New Member
      • Dec 2010
      • 4

      #3
      ok there's no syntax,but if you try those values:
      q=120
      E1=400000
      E2=20000
      E3=10000
      h1=6
      h2=6
      a=4.8
      then when the program asks you to enter 0 ir 1 press 1,then the program will stop ,giving a runtime error :(

      Comment

      Working...