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
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
8
Answer:
I hope answer is helpful to us
plz make brainliest if you want
Attachments:
Similar questions
Math,
2 months ago
Science,
2 months ago
Social Sciences,
4 months ago
Political Science,
4 months ago
Science,
9 months ago
Science,
9 months ago