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
Social Sciences,
2 months ago
English,
2 months ago
Social Sciences,
5 months ago
Political Science,
5 months ago
Science,
10 months ago
Science,
10 months ago