Code
using System;
namespace _02_04
{
class Class_02_04{
public static void Main(String[] args){
decimal x=3.1459265358979m;
double y=3.14159265358979;
Console.WriteLine("x={0}",x);
Console.WriteLine("y={0}",y);
x=5*x;
y=5*y;
Console.WriteLine("x={0}",x);
Console.WriteLine("y={0}",y);
x = x / 15;
y = y / 15;
Console.WriteLine("x={0}",x);
Console.WriteLine("y={0}",y);
}
}
}
using System;
namespace _02_04
{
class Class_02_04{
public static void Main(String[] args){
decimal x=3.1459265358979m;
double y=3.14159265358979;
Console.WriteLine("x={0}",x);
Console.WriteLine("y={0}",y);
x=5*x;
y=5*y;
Console.WriteLine("x={0}",x);
Console.WriteLine("y={0}",y);
x = x / 15;
y = y / 15;
Console.WriteLine("x={0}",x);
Console.WriteLine("y={0}",y);
}
}
}