how to write a program to find average of float number, if we have 10 numbers includes integer and float number in c++?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to write a program to find average of float number, if we have 10 numbers includes integer and float number in c++??

c++

25th Oct 2019, 8:31 AM
Mohammad Jafer
Mohammad Jafer - avatar
3 Answers
0
~ swim ~ i dont know how to find float number, i get stuck with find float number, if we have integer and float number
25th Oct 2019, 9:25 AM
Mohammad Jafer
Mohammad Jafer - avatar
0
David Carroll can you help me with this problem
25th Oct 2019, 9:28 AM
Mohammad Jafer
Mohammad Jafer - avatar
0
~ swim ~ I know, but what if I take numbers from users and users tell me which one is float I know, but I don't know how to write a program for this. We must use if, while or i says user please inter the type of this number, I don't know
25th Oct 2019, 9:50 AM
Mohammad Jafer
Mohammad Jafer - avatar