0
What’s the err here??
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { const double pi = 3.14; double radius; //your code goes here radius = Console.ReadLine(); Console.WriteLine({0} * {1} ** 2, pi, radius); } } }
1 Odpowiedź
+ 2
C# doesn't have the exponentiation operator (**). And I'd recommend you to revisit output formatting in C#.
https://code.sololearn.com/ct0WU37Xw8k0/?ref=app