tomato.cpp: In function 'int main()':
tomato.cpp:51:26: error: break statement not within loop or switch
tomato.cpp: At global scope:
tomato.cpp:53:5: error: expected unqualified-id before 'if'
tomato.cpp:55:5: error: expected unqualified-id before 'else'
tomato.cpp:57:1: error: expected declaration before '}' token
tomato.cpp: In function 'int main()':
tomato.cpp:13:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
tomato.cpp:17:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]