Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Variable_in_Hex_Format
- {
- class Program
- {
- static void Main(string[] args)
- {
- string input = Console.ReadLine();
- int output = Convert.ToInt32(input, 16);
- Console.WriteLine(output);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement