Skip to content

Commit e475076

Browse files
authored
changed files by pdets auto publish service, publishid[46eb3194-577e-4d59-b4cd-40cdb543f796] and do [publish].
1 parent 0ed1fb1 commit e475076

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

learn-pr/wwl-language/csharp-evaluate-boolean-expressions/3-exercise-conditional-operator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ quiz:
1818
questions:
1919
- content: "Which of the following lines of code is a valid use of the conditional operator?"
2020
choices:
21-
- content: "`int bonus = amount >= 100? 10 : 5;`"
21+
- content: "`int bonus = amount >= 100? 10: 5;`"
2222
isCorrect: true
2323
explanation: "Correct! This code line shows the correct syntax for a conditional operator `?:`."
2424
- content: "`int bonus = amount >= 100: 10? 5;`"

learn-pr/wwl-language/csharp-evaluate-boolean-expressions/includes/1-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Decision logic is based on expressions, known as Boolean expressions that evaluates to "true" or "false". Developers use various types of operators to create Boolean expressions that meet their coding requirements. When the expressions are evaluated, the code execution branches based on the result. The C# language supports a wide range of operators (such as equality, comparison, and Boolean operators), each of which serves a specific purpose when implementing decision logic.
1+
Decision logic is based on expressions, known as Boolean expressions that evaluate to "true" or "false". Developers use various types of operators to create Boolean expressions that meet their coding requirements. When the expressions are evaluated, the code execution branches based on the result. The C# language supports a wide range of operators (such as equality, comparison, and Boolean operators), each of which serves a specific purpose when implementing decision logic.
22

33
Suppose you've been selected to work on a series of C# console applications that are used to process customer data and user supplied inputs. Each application requires you to implement decision logic that achieves data processing requirements and associated business rules. The data processing requirements and business rules vary for each application. For example, applications that process customer orders might need to evaluate the status of the customer before taking any action. To prepare for this upcoming assignment, you'll complete some practice activities that implement Boolean expressions and C# operators.
44

0 commit comments

Comments
 (0)