java programı lazım - acil-

earwen

New member
arkadaşlar bana acil bi java programı lazım. programı kısaca anlatıyım:
10 tane sayıyı bi dosyadan(CalculateInput.txt) okuyup toplamını ve artalamasını alıcak ve toplamı ve ortalamayı yine bi dosyaya(CalculateOutput.txt) yazıcak
hocanın yazdığı da şöyle:

1. Introduction
Your assignment is to write a Java class which reads 10 integers and calculate total and average values. After compilation, use “>” and “<” appropriately when running the bytecode so that the program reads the integer values from CalculateInput.txt file and writes the output to the CalculateOutput.txt file.

2. Project Details
a) The name of the class should be named Calculate
b) The program should read 10 integers.
c) The program should calculate the sum and the average, and output the results.
 

HTML

Üst