Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Return Values | Metodi
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Fondamenti di C#

bookChallenge: Return Values

Compito

Swipe to start coding

Your task is to create a method that takes a Celsius value, converts it to Fahrenheit, and returns it.

  • Create a method ConvertToFahrenheit that:
    • Accepts one parameter:
      • celsius (double)
    • Converts the Celsius temperature to Fahrenheit using the formula: Fahrenheit = Celsius * 9 / 5 + 32
    • Returns the Fahrenheit value as a double.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 6. Capitolo 10
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

bookChallenge: Return Values

Scorri per mostrare il menu

Compito

Swipe to start coding

Your task is to create a method that takes a Celsius value, converts it to Fahrenheit, and returns it.

  • Create a method ConvertToFahrenheit that:
    • Accepts one parameter:
      • celsius (double)
    • Converts the Celsius temperature to Fahrenheit using the formula: Fahrenheit = Celsius * 9 / 5 + 32
    • Returns the Fahrenheit value as a double.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 6. Capitolo 10
single

single

some-alt