import java.util.Scanner;
public class Mbps2MBps
{
public static void main( String[] args )
{
Scanner input = new Scanner( System.in );
double mbps, mBps;
System.out.print( "Please Enter Value in Mbps in two decimal places: " );
mbps = input.nextDouble();
//Converts Values from Mega bits/second to Mega bytes/second
mBps = mbps * 0.125;
System.out.println( mbps + "Mbps is " + mBps + "MBps." );
}
}
No comments:
Post a Comment