早教吧作业答案频道 -->其他-->
javaprogrammingproblem,howtosolveit?thankyou!(Summingalltheintegersinabinarydatafile)SupposeabinarydatafilenamedExercise193.dathasbeencreatedusingwriteInt(int)inDataOutputStream.Thefilecontainsanunspecifiednumberof
题目详情
java programming problem,how to solve it?thank you!
(Summing all the integers in a binary data file) Suppose a binary data file named Exercise19_3.dat has been created using writeInt(int) in DataOutputStream.The file contains an unspecified number of integers.Write a program to find the sum of integers.
I need code,not for translation.how to code it that the data was required from the .dat
(Summing all the integers in a binary data file) Suppose a binary data file named Exercise19_3.dat has been created using writeInt(int) in DataOutputStream.The file contains an unspecified number of integers.Write a program to find the sum of integers.
I need code,not for translation.how to code it that the data was required from the .dat
▼优质解答
答案和解析
(所有的整数求和在二进制数据文件)假设一个二进制数据文件命名为Exercise19_3.已经创建了数据的使用writeInt在DataOutputStream(int).该文件包含了数量不明的整数.编写一个程序来找到整数之和.
看了javaprogramming...的网友还看了以下:
将表格中经纬度转换成小数格式数据是42°28‘30.85,在表格中写为42.283085用=INT 2020-04-25 …
在时间类(详见下面)里面,语句Time Add(Time t);中的Time指什么啊,时间类cla 2020-05-14 …
求这个程序的算法流程图或文字说明#include int main() {int length(c 2020-05-16 …
下面程序段运行后,变量x的值是多少?public static void swap(int a,i 2020-05-16 …
这题哪里出错了?本题:输出11-999之间的数m,要求m,m*m,m*m*m都为回文数.如11,1 2020-05-17 …
●下列程序运行后输出的数据是(51)。int sum(int n){ int p=1; int s= 2020-05-26 …
关于这个题目中间那个例如a=Int(i/1000)int是什么意思啊?在线等谢谢诶PrivateS 2020-06-04 …
语句Print"Int(-13.2)=";Int(-13.2)的输出结果为().A)Int(-13 2020-06-24 …
javaprogrammingproblem,howtosolveit?thankyou!(Summ 2020-11-17 …
有以下程序:#includeclassDate;classTime{public:Time(int, 2020-12-18 …