You are on page 1of 1

Problem on Reynolds Number:

/*
* To change this license header, choose License Headers in
Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dalapus_reynolds.nummber;

/**
*
* @author user6
*/import java.util.Scanner;
public class Dalapus_ReynoldsNummber {

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner input= new Scanner (System.in);

double Re;
System.out.print ("input Reynolds Number: ");
Re = input.nextDouble ();

if (Re<2100);
{
System.out.printf("the flow is laminar");
}
else
{
System.out.printf("the flow is turbulent");
}
}

You might also like