In the code, the user enters an integer and the code parses it and prints out the result. The user's number divided by the number of sides gives the result.

    using System;
    Console.Write("Введи число: ");
    int a = int.Parse(Console.ReadLine());
    Console.WriteLine("Куб вашего числа равен: {0}", a*a*a);
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.