public void MyCode() { // The FIRST line of code should be BELOW this line MysticNumbers mysticnumber1 = new MysticNumbers(); Console.WriteLine($"Resultat 1 er: {mysticnumber1.ThreeNumbers(4, 6, 2)}"); Console.WriteLine($"Resultat 2 er: {mysticnumber1.ThreeNumbers(7,2,5)}"); Console.WriteLine($"Resultat 3 er: {mysticnumber1.ThreeNumbers(4,2,9)}"); Console.WriteLine($"Resultat 4 er: {mysticnumber1.TwoNumbers(7,5)}"); Console.WriteLine($"Resultat 5 er: {mysticnumber1.TwoNumbers(5,9)}"); Console.WriteLine($"Resultat 6 er: {mysticnumber1.FourNumbers(8,5,4,2)}"); Console.WriteLine($"Resultat 7 er: {mysticnumber1.FourNumbers(2,9,5,3)}"); Console.WriteLine($"Resultat 8 er: {mysticnumber1.FourNumbers(1,2,4,3)}"); Console.WriteLine($"Resultat 9 er: {mysticnumber1.FourNumbers(2,3,4,5)}"); Console.WriteLine($"Resultat 10 er: {mysticnumber1.NewThreeNumbers(6,3,2)}"); Console.WriteLine($"Resultat 11 er: {mysticnumber1.NewThreeNumbers(2,7,4)}"); Console.WriteLine($"Resultat 12 er: {mysticnumber1.NewThreeNumbers(4,5,9)}"); // The LAST line of code should be ABOVE this line }
public void MyCode() { // The FIRST line of code should be BELOW this line MysticNumbers MN = new MysticNumbers(); MN.ThreeNumbers(2, 3, 4); Console.WriteLine($"Numrene er {MN.ThreeNumbers(2,3,4)}"); // The LAST line of code should be ABOVE this line }
public void MyCode() { // The FIRST line of code should be BELOW this line MysticNumbers myMysticNumbers = new MysticNumbers(); // myMysticNumbers.ThreeNumbers(3,2,1); Console.WriteLine(myMysticNumbers.ThreeNumbers(3, 2, 1)); //15.01 Console.WriteLine(myMysticNumbers.ThreeNumbers(1, 3, 2)); Console.WriteLine(myMysticNumbers.ThreeNumbers(1, 1, 2)); Console.ReadLine(); Console.WriteLine(myMysticNumbers.TwoNumbers(1, 2)); //15.02 Console.WriteLine(myMysticNumbers.FourNumbers(15, 3, 76, 192)); // The LAST line of code should be ABOVE this line }
public void MyCode() { // The FIRST line of code should be BELOW this line MysticNumbers nummer = new MysticNumbers(); Console.WriteLine($"result is: {nummer.ThreeNumbers(22, 11, 9)}"); Console.WriteLine($"result is: {nummer.TwoNumbers(22, 11)}"); Console.WriteLine($"result is: {nummer.FourNumbers(11, 12, 14, 20)}"); // The LAST line of code should be ABOVE this line }
public void MyCode() { // The FIRST line of code should be BELOW this line MysticNumbers newNumber = new MysticNumbers(); Console.WriteLine($"Largest number is: {newNumber.ThreeNumbers(23, 20, 19)}"); Console.WriteLine($"Largest number is: {newNumber.TwoNumbers(23, 24)}"); Console.WriteLine($"Largest number is: {newNumber.ThreeNumbersVersion2(23, 24, 54)}"); Console.WriteLine($"Largest number is: {newNumber.FourNumbers(23, 24, 10, 5)}"); // The LAST line of code should be ABOVE this line }
public void MyCode() { // The FIRST line of code should be BELOW this line MysticNumbers myNumbers = new MysticNumbers(); int myNum = myNumbers.ThreeNumbers(11, 10, 8); Console.WriteLine(myNum); int myTwoNum = myNumbers.TwoNumbers(5, 10); Console.WriteLine(myTwoNum); int myFourNum = myNumbers.FourNumbers(1, 11, 8, 10); Console.WriteLine(myFourNum); // The LAST line of code should be ABOVE this line }