Skip to content

Commit a85afe6

Browse files
authored
changed files by pdets auto publish service, publishid[cd677551-a085-4005-90b9-06708d4ac716] and do [publish].
1 parent 0ebfc35 commit a85afe6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

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
@@ -15,7 +15,7 @@ In this module, you will:
1515
- Use the negation operator to test for the opposite of a given condition.
1616
- Use the conditional operator to perform an inline evaluation.
1717

18-
## Prerequisites:
18+
## Prerequisites
1919

2020
- Experience with basic coding tasks such as instantiating variables, using various data types, and sending output to a console window.
2121
- Experience using the `if-elseif-else` construct.

learn-pr/wwl-language/csharp-evaluate-boolean-expressions/includes/2-exercise-boolean-expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You might have been thinking that the value returned by an expression would be a
1515

1616
Boolean expressions are important because your code can use these expressions to decide which block of code to execute.
1717

18-
There are many different types of operators that you can use within a Boolean expression. For example, the `if` statement above uses the equality operator `==` to check whether a string variable is assigned a particular value. The operator that you choose will depend on the available code paths, the conditions associated with the paths, and the underlying application logic.
18+
There are many different types of operators that you can use within a Boolean expression. For example, the `if` statement above uses the equality operator `==` to check whether a string variable is assigned to a particular value. The operator that you choose will depend on the available code paths, the conditions associated with the paths, and the underlying application logic.
1919

2020
## Evaluating equality and inequality
2121

learn-pr/wwl-language/csharp-evaluate-boolean-expressions/includes/4-exercise-challenge-conditional-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Code challenges will reinforce what you've learned and help you gain some confid
22

33
## Conditional operator challenge
44

5-
In this challenge, you'll implement a conditional operator to simulate a "coin flip". The resulting decision logic will display either `heads` or `tails`.
5+
In this challenge, you'll implement a conditional operator to simulate a "coin flip." The resulting decision logic will display either `heads` or `tails`.
66

77
## Code challenge: write code to display the result of a coin flip
88

learn-pr/wwl-language/csharp-evaluate-boolean-expressions/includes/6-exercise-challenge-boolean-expressions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Code challenges will reinforce what you've learned and help you gain some confidence before continuing on.
1+
Code challenges reinforce what you've learned and help you gain some confidence before continuing on.
22

33
## Decision logic challenge
44

5-
In this challenge, you'll implement decision logic based on a series of business rules. The business rules specify the access that will be granted to users based on their role-based permissions and their career level. Code branches will display a different message to the user depending on their permissions and level.
5+
In this challenge, you implement decision logic based on a series of business rules. The business rules specify the access that is granted to users based on their role-based permissions and their career level. Code branches display a different message to the user depending on their permissions and level.
66

77
### Initialize permission and level values
88

@@ -30,12 +30,12 @@ In this challenge, you'll implement decision logic based on a series of business
3030
Your application will be using a combination of `permission` and `level` to apply/evaluate the business rules in this challenge scenario. The full list of conditions for business rules is specified in the next step. Your completed solution must use `permission` and `level`.
3131

3232
> [!TIP]
33-
> To sufficiently test all of the combinations for `permission` and `level` that are described in the business rules below, you will need to assign additional values to these variables and run the application multiple times.
33+
> To sufficiently test all of the combinations for `permission` and `level` that are described in the business rules below, you'll need to assign additional values to these variables and run the application multiple times.
3434

3535
### Implement business rules
3636

3737
> [!IMPORTANT]
38-
> You will need to use the `Contains()` helper method to determine whether the value assigned to the `permission` string contains one of the permission values specified by the "business rules". For example, the expression `permission.Contains("Admin")` will return `true` when using the initial data values specified in the code above.
38+
> You'll need to use the `Contains()` helper method to determine whether the value assigned to the `permission` string contains one of the permission values specified by the "business rules". For example, the expression `permission.Contains("Admin")` will return `true` when using the initial data values specified in the code above.
3939

4040
Here are the **Business Rules** that your solution must satisfy:
4141

@@ -63,7 +63,7 @@ Here are the **Business Rules** that your solution must satisfy:
6363
You do not have sufficient privileges.
6464
```
6565

66-
- If the user is not an Admin or a Manager, output the message:
66+
- If the user isn't an Admin or a Manager, output the message:
6767

6868
```Output
6969
You do not have sufficient privileges.

0 commit comments

Comments
 (0)