# Exercise: Celsius to Fahrenheit

Let's convert temperature in Celsius to Fahrenheit using a function!

## We'll cover the following

## Problem Statement

In this exercise, you must create the `convertTemp()`

function which converts temperature from *Celsius* to *Fahrenheit*.

Here is the conversion formula:

$F = C * 1.8 + 32$

The temperature will be of the `float`

type.

### Sample Input

```
C = 40.5
```

### Sample Output

```
F = 104.9
```

## Coding Challenge

This problem is all about connecting functions with arithmetic operations. Pay attention to the syntax you write for the conversion formula, as well as the value returned by the function.

If you feel stuck, you can always refer to the solution review in the next lesson.

Good luck!

Get hands-on with 1200+ tech skills courses.