Write a program in C# that requests an integer x from the user and print the result of adding it to the square.
public class SumsSquared
public static void Main(string args)
int x = Convert.ToInt32(Console.ReadLine());
Practice C# anywhere with the free app for Android devices.
Learn C# at your own pace, the exercises are ordered by difficulty.
Your donations support our work and contribute to the maintenance of the app.
Own and third party cookies to improve our services. If you go on surfing, we will consider you accepting its use.