module pind.samples.ja.logical_expressions.logical_expressions_3; import std.stdio; void main() { write("How many are we? "); int personCount; readf(" %s", &personCount); write("How many bicycles are there? "); int bicycleCount; readf(" %s", &bicycleCount); write("What is the distance to the beach? "); int distance; readf(" %s", &distance); write("Is there a car? "); bool existsCar; readf(" %s", &existsCar); write("Is there a driver license? "); bool existsLicense; readf(" %s", &existsLicense); /* 以下の'true'を、 * 質問に記載されている条件のいずれかが満たされたときに * 値'true'を生成する論理式に置き換えてください: */ writeln("We are going to the beach: ", true); }