fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. procedure negotiate_with_client() {
  13. check_cost();
  14. if (!client_agree()) {
  15. pay_for_wash();
  16. return;
  17. }
  18.  
  19. find_defects();
  20.  
  21. if (defects_found()) {
  22. say_about_defects();
  23. if (!client_agree()) {
  24. pay_for_wash_and_dyagnosis();
  25. return;
  26. }
  27. }
  28.  
  29. create_request();
  30. take_money();
  31. }
  32.  
  33.  
  34. listen_client();
  35. if (!is_clean()) {
  36. wash();
  37. }
  38.  
  39. negotiate_with_client();
  40. bye();
  41. }
  42. }
  43.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:12: error: ';' expected
		procedure negotiate_with_client() {
		                               ^
1 error
stdout
Standard output is empty