Here is my code:
float e[10]=new float[10];
Is there any way to format all the 10 floats into a format string? Maybe something like this in Python:
a=range(10)
print ('#'+'(%f)'*10+'#')%tuple(a)
Is there a method like this in java? I mean getting a string like "#(1.0)(2.0)(3.0)#" for the case of array_size 3.