Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
-1 Girene Kadar Ortalama
//4 #include <iostream> using namespace std; void main() { double x , average , total ; int count; cout << "Please Enter A Value "; cin >> x ; total = 0; count = 0; while(x != -1){ total += x; count++; cout << "\nPlease Enter A Value "; cin >> x; } average = total/count; cout << "\nThe Average of The Numbers That You've Entered is " << average << endl; }
run
|
edit
|
history
|
help
0
Unicode_write2file
Program_2
hangman
inherited
infix to postfix v 2.0
constexpr internal error
Error with move capture of a const ref in a lambda function
1
iota_30-Seconds-of-C++
Default constructor - none defined