セクション 1. 章 42
single
Challenge: Accessing Control System
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
You are building a simple access control system for a building. Two boolean variables are already defined:
hasAccessCard→ indicates an employee.hasSpecialPass→ indicates a visitor pass.
Your task is to write an if statement that checks if at least one of these conditions is true.
- If access is allowed, display:
Access granted. - Otherwise, display:
Access denied.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 42
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください