Question:
hi, who can write java program for money?
?
2010-12-13 12:10:50 UTC
importing data from a file and then saving it into separate files
Five answers:
modulo_function
2010-12-13 12:18:47 UTC
Email me details and I'll give you a quote. I accept Paypal. A program like that would cost about $5 to $10.
?
2017-01-17 22:30:10 UTC
you're taking the quantity, say one hundred thirty five; Divide that by technique of one hundred. this is integer math which means there is not any the rest, purely divisors. So one hundred thirty five / one hundred = a million; Divide lower back to alter for a sparkling subtotal, different than use modulo, the op that returns something a = 135p.c.one hundred; // a is now equivalent to 35 Divide by technique of 20 => 35 / 20 = a million; a = 35 % 20; // a is now equivalent to 5 divide 5 by technique of 10 and that's 0 modulo by technique of 10 and that's additionally 0 divide by technique of five and that's a million modulo by technique of five and that's 0, we are executed in each and each step the divisor is the guidance given to the ATM for that length of invoice the modulo is reducing the subtotal, making waiting for the subsequent denomination count type to the ATM
j A L
2010-12-13 12:39:29 UTC
here is how you copy from one file to another



import java.io.File;

import java.io.FileReader;

import java.io.FileWriter;

import java.io.IOException;



public class Copy {

public static void main(String[] args) throws IOException {

File inputFile = new File("C:\\Users\\joe\\Documents\\NetBeansProjects\\IO_Lab\\src\\io_lab\\fromFile.txt");

File outputFile = new File( "C:\\Users\\joe\\Documents\\NetBeansProjects\\IO_Lab\\src\\io_lab\\toFile.txt");



FileReader in = new FileReader(inputFile);

FileWriter out = new FileWriter(outputFile);

int c;



while ((c = in.read()) != -1)

out.write(c);

System.out.println("fromText has been copied to ToText");

in.close();

out.close();

}

}
usman
2010-12-13 12:44:00 UTC
such easy questions you can ask for direct answers but after some of your own effort ,we will love to answer them here
gjmb1960
2010-12-13 12:32:20 UTC
give more details and i will see if i want to write that for free, and no support.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...