Horje
how to take continuous input in c++ until any value. Like for example(taking input until giving q) Code Example
how to take continuous input in c++ until any value. Like for example(taking input until giving q)
summ = 0
count = 1
while raw_input("Enter q to quit or any other key to continue") != 'q':
    summ = summ+input()
    count=count+1
print summ/(count*1.0)




Cpp

Related
cpp pointer to two dimensional array Code Example cpp pointer to two dimensional array Code Example
typeid().name() in c++ Code Example typeid().name() in c++ Code Example
gtest assert not equal Code Example gtest assert not equal Code Example
c++ solver online free Code Example c++ solver online free Code Example
C++ Volume of a Cylinder Code Example C++ Volume of a Cylinder Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10