Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Werdasliestistdoof {
- public static void main(String args[]){
- long a,b,d = 0;
- for(int j =1; j <6; j++){
- a = gettime();
- for(int i = 1; i <10001; i++)
- System.out.print("Wer das liest ist doof\t");
- b = gettime();
- d += b - a;
- }
- d /= 6;
- System.out.print("Benoetigte Zeit fuer einen Werdasliestistdoof-Blockes ist: " +d/1000d + " Sekunden.");
- }
- public static long gettime(){
- return System.currentTimeMillis();
- }
- }
Add Comment
Please, Sign In to add comment