class MainClass {
public static void Main() {
short x;
int y;
double z = 0;
x = 6;
y = 10;
z = x + y;
System.Console.WriteLine("X = {0} Y = {1} Z = {2}", x, y, z);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok