﻿using System;

using System.Text;
/*Write a program that reads a number and prints it as a decimal number, hexadecimal number,
 * percentage and in scientific notation. Format the output aligned right in 15 symbols.*/
    class Program
    {
        static void Main()
        {
            Console.Write("Enter number:");
            int number = int.Parse(Console.ReadLine());
            Console.WriteLine("A decimal notation : {0,15}",number.ToString("D"));
            Console.WriteLine("A hexadecimal notation : {0,15}",number.ToString("X"));
            Console.WriteLine("A percentage notation : {0,15}", number.ToString("P"));
            Console.WriteLine("A scientific notation : {0,15}", number.ToString("G"));


        }
    }

