السسسلآم عليكم و رحمة الله و بركــآته..
مسسـآء/صبــآح الخــيـر ..
تكفــون ابي مسسـآعدتكم في كتابة كوود ل هالبرنامج في الـC++ لآهنتوآ...
Read a data file and store the data in an array. Then compute the average of the data and print the result on screen. (Hints: You must read each data value from the file in an element of the array. First declare an array of very large size (say 50) then read data into the each element of array). The syntax for reading a data in a scalar variable is: fscanf(infile,”%d”,&x).
Similarly the syntax for reading a data in an element of an array is: fscanf(infile,”%d”,&a) where i varies from 0 to EOF.
لآ تبخلون علينا بمسسـآعدتكم ي الغوآلي..


