Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 18th, 2010 | Syntax: C | Size: 0.42 KB | Hits: 75 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. #
  2. else
  3. #
  4.         if ( (fa*fb) ==0 ) {    
  5. #
  6.                 printf("Yparxei lusi ! H x=a i x=b\n\n");
  7. #
  8.                 if ( (fa==0) ) {
  9. #
  10.                                 printf("H lusi einai i a= %g",a);
  11. #
  12.                 }
  13. #
  14.                     else if ( (fb==0) ) {
  15. #
  16.                                 printf("H lusi einai i b= %g",b);
  17. #
  18.                     }
  19. #
  20.         else
  21. #
  22. {
  23. #
  24.                 meso=(a+b)/2