Making code more beautifull
This commit is contained in:
@@ -6,6 +6,7 @@ namespace BasicProgramming
|
|||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("====== Basic Programming ======");
|
||||||
Console.WriteLine($"AddAndMultiply: {AddAndMultiply(2, 4, 5)}");
|
Console.WriteLine($"AddAndMultiply: {AddAndMultiply(2, 4, 5)}");
|
||||||
Console.WriteLine($"CToF(0): {CtoF(0)}");
|
Console.WriteLine($"CToF(0): {CtoF(0)}");
|
||||||
Console.WriteLine($"CToF(100): {CtoF(100)}");
|
Console.WriteLine($"CToF(100): {CtoF(100)}");
|
||||||
@@ -18,7 +19,7 @@ namespace BasicProgramming
|
|||||||
Console.WriteLine($"CubeOf(-5.5): {CubeOf(-5.5)}");
|
Console.WriteLine($"CubeOf(-5.5): {CubeOf(-5.5)}");
|
||||||
Console.WriteLine($"SwapTwoNumbers(87, 45): {string.Join(", ", SwapTwoNumbers(87, 45))}");
|
Console.WriteLine($"SwapTwoNumbers(87, 45): {string.Join(", ", SwapTwoNumbers(87, 45))}");
|
||||||
Console.WriteLine($"SwapTwoNumbers(-13, 2): {string.Join(", ", SwapTwoNumbers(-13, 2))}");
|
Console.WriteLine($"SwapTwoNumbers(-13, 2): {string.Join(", ", SwapTwoNumbers(-13, 2))}");
|
||||||
Console.WriteLine($"====== Conditional Statements ======");
|
Console.WriteLine("====== Conditional Statements ======");
|
||||||
Console.WriteLine($"AbsoluteValue(6832): {AbsoluteValue(6832)}");
|
Console.WriteLine($"AbsoluteValue(6832): {AbsoluteValue(6832)}");
|
||||||
Console.WriteLine($"AbsoluteValue(-392): {AbsoluteValue(-392)}");
|
Console.WriteLine($"AbsoluteValue(-392): {AbsoluteValue(-392)}");
|
||||||
Console.WriteLine($"DivisibleBy2Or3(15, 30): {DivisibleBy2Or3(15, 30)}");
|
Console.WriteLine($"DivisibleBy2Or3(15, 30): {DivisibleBy2Or3(15, 30)}");
|
||||||
|
|||||||
Reference in New Issue
Block a user