0
I need some help with functions
Void output(int a[],int &n) { Ofstream fout(doc.txt) fout << average of all numbers<<endl; For(int i = 0; i < n ;i++) Fout << how to type average function? <<endl; Fout.close(); } Does anyone know how to type a name of separe function so that i would get answer in my txt file.i need to calculate average of four numbers .probably i am doing something wrong but dont realy know what .in input file everything seems fine .its just something with average function doesent work.
8 odpowiedzi
+ 1
No prob kira .i solved everything.i am quite new here .it took me some time.i just made to many newbie mistakes
+ 1
I can try .two heads work better than one.
+ 1
Sorry i dont know python yet.i will start on it only after new year.
0
Unfortuanutely can't help. 😐
0
I am too. Do you think you could help me?
0
Yep. Here is my question:
https://www.sololearn.com/discuss/2063783/?ref=app
0
My mum gave me the challenge
0
Okay.