var experience; var is_married; write("Enter years of experience: "); experience = read(); write("Are you married (yes/no): "); is_married = read(); if(experience >= 1) { if (is_married == "yes") { write("Your salary will be 1000$ per month."); } else if (is_married == "no") { write("Your salary will be 800$ per month."); } else { write("Error: your answer can be 'yes' or 'no' only."); } } else { write("Sorry.. The job requires at least one year experience!"); }
(
)
{
}
[
]
"
;
=
+
-
*
!
/
%
&
|