mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-29 13:01:37 -04:00
44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
---
|
|
id: 647e23788acb466c97ccbf02
|
|
title: 'Perform Basic Operations on Numbers in C#'
|
|
challengeType: 19
|
|
dashedName: perform-basic-operations-on-numbers-in-c-sharp
|
|
---
|
|
|
|
# --description--
|
|
|
|
This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:
|
|
|
|
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-basic-operations/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/csharp-basic-operations/</a> and complete all the tasks for the "Perform Basic Operations on Numbers in C#" module. This is **required** to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
|
|
1. When you are finished, come back and correctly answer the question below.
|
|
|
|
# --assignment--
|
|
|
|
Complete the <a href="https://learn.microsoft.com/training/modules/csharp-basic-operations/" target="_blank" rel="noreferrer">Perform Basic Operations on Numbers in C#</a> module on Microsoft Learn. Then, answer the question below.
|
|
|
|
# --question--
|
|
|
|
## --text--
|
|
|
|
What is the value of the following result?
|
|
|
|
```clike
|
|
int result = 3 + 1 * 5 / 2;
|
|
```
|
|
|
|
## --answers--
|
|
|
|
10
|
|
|
|
---
|
|
|
|
5
|
|
|
|
---
|
|
|
|
6
|
|
|
|
## --video-solution--
|
|
|
|
2
|