Write float arrays to a text file: Difference between revisions

m
Removed annoying backticks, changed Java highlighting to java5
(added java)
m (Removed annoying backticks, changed Java highlighting to java5)
Line 1:
{{task}}Write two equal-sized numerical arrays `'x' and `'y' to a two-column text file named `'filename'.
{{task}}
Write two equal-sized numerical arrays `x' and `y' to a two-column text file named `filename'.
 
The first column of the file contains values from an `'x'-array with a given `'xprecision', the second -- values from `'y'-array with `'yprecision'.
 
For example, considering:
Line 346 ⟶ 345:
 
=={{header|Java}}==
<lang javajava5>import java.io.*;
 
public class FloatArray {
Anonymous user