albinokarielis6260 albinokarielis6260
  • 14-07-2019
  • Computers and Technology
contestada

Write the following method to display three numbers in increaseing order:

public ststic void displaySortedNumbers(
double num1, double num2, double num3)

Respuesta :

ThatOneComputerNerd ThatOneComputerNerd
  • 14-07-2019
//Assuming your code is in C#
using System;
using System.Collections.Generic;
public static void displatSortedNumbers(double num1, double num2, double num3){
List list1 = new List {num1,num2,num3};
foreach( int g in list1 )
{
// Display sorted list
Console.WriteLine(g);
}
}

Answer Link

Otras preguntas

Mr. Wilk is a high school math teacher whose salaryis $33,660 for this school year, which has 180 days.In Mr. Wilk’s school district, substitute teachers are pa
i need help with number 14
why is the savannah a fragile enviroment?
what is a sentence for absorbent
solve for x if: 6x(−3)=(−5x)+7
who was the main army general of the confederates during the civil war?who was the main army general of the union during the civil war?
When written in symbols, “the product ofr and s, raisedto the fourth power,” is represented as:
How much does a Yuan weight?
What services were provided by monasteries and convents?
The minimum fine for driving in excess of the speed limit is $25. An additional $6 is added to the minimum fine for each mile per hour (mph) in excess of the spee