✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Analizați secvența de cod de mai jos și selectați răspunsul corect.
Ce valoare va avea c la finele execuției următorului program?
using System;using System.Collections.Generic;using System.Text;namespace Conversii1{ class Program { static void Main(string[] args) { int a = 5; int b = 2; float c; c = (float)a / b; Console.WriteLine(“{0}/{1}={2}”, a, b, c); Console.ReadLine(); } }}