---
id: 647e235a8acb466c97ccbf00
title: Guided Project - Calculate and Print Student Grades
challengeType: 19
dashedName: guided-project-calculate-and-print-student-grades
---

# --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/guided-project-calculate-print-student-grades/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/guided-project-calculate-print-student-grades/</a> and complete all the tasks for the "Guided Project - Calculate and Print Student Grades" 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/guided-project-calculate-print-student-grades/" target="_blank" rel="noreferrer">Calculate and Print Student Grades</a> guided project on Microsoft Learn. Then, answer the question below.

# --questions--

## --text--

What is wrong with the following code?

```csharp
int sophiaSum;
Console.WriteLine("Sophia: " + sophiaSum);
```

## --answers--

`sophiaSum` is not initialized before use

---

`sophiaSum` is not implicitly typed to a string

---

`sophiaSum` should use the var keyword

## --video-solution--

1
