I am wanting to print things in a neat columns using printf.
happening 0.083333 [4]
hi 0.083333 [0]
if 0.083333 [8]
System.out.format("%-8s%-8s%-8s\n","a","b","pow(b,a)");
System.out.format("%-8d%-8d%-8d\n",1,2,1);
System.out.format("%-8d%-8d%-8d\n",2,3,8);
System.out.format("%-8d%-8d%-8d\n",3,4,81);
System.out.format("%-8d%-8d%-8d\n",4,5,1024);
System.out.format("%-8d%-8d%-8d\n",5,6,15625);
//the negative integer kinda sets it back to the number of space needed