Computer Science, asked by zeeshanasif9999, 5 months ago

Write a program that repeatedly takes integers from the user as long as he wants to input. plz tell me in c++...​

Answers

Answered by Aryanhero64
1

Answer:

count = 0 sum = 0 product = 1 user_input = None while user_input != 'q': user_input = int(input('Enter a number: ')) sum = sum + user_input product = product * user_input count = count + 1 print('Average:', sum/count) print('Product:', product)

Answered by Anonymous
8

Answer:

I hope answer is helpful to us

plz make brainliest if you want

Attachments:
Similar questions