Last active
          August 30, 2015 01:31 
        
      - 
      
 - 
        
Save jm66/caad3144b413acc2c18d to your computer and use it in GitHub Desktop.  
    Error Lógico
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class CalcTiempoDescarga { | |
| public double sizeMB, speedMBps, timeSec; | |
| public CalcTiempoDescarga(double sizeMB, double speedMBps) { | |
| this.sizeMB = sizeMB; | |
| this.speedMBps = speedMBps; | |
| } | |
| public void calcular() { | |
| this.timeSec = sizeMB / speedMBps * 1024; | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment