Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sing System;
- /* 1.Declare five variables choosing for each of them the most appropriate of the types byte, sbyte, short, ushort, int, uint, long, ulong to represent the following values: 52130, -115, 4825932, 97, -10000.*/
- class varibles
- {
- static void Main()
- {
- ushort myMoney = 52130;
- Console.WriteLine(myMoney);
- sbyte degree = -115;
- Console.WriteLine(degree);
- uint housePrice = 4825932;
- Console.WriteLine(housePrice);
- byte mobileTax = 97;
- Console.WriteLine(mobileTax);
- short myBet = -10000;
- Console.WriteLine(myBet);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment