answersLogoWhite

0

10n = -30

n = -3

User Avatar

Wiki User

9y ago

What else can I help you with?

Continue Learning about Engineering

The average the sum of the elements divided by the number of elements?

Yes, average is the sum of elements divided by the number of elements Exp:- x1=10, x2=20, x3=30, x4=10. then the average is 10+20+30+10 ------------------ 4 => 17.5 Average = sum of total of element ---------------------------------- no. of elements


What is Peterson number in C?

Peterson Number:145 = 1! + 4! + 5!number=sum of (factorials of digits)


You are a 4 digit number your thousands digit is twice your ones digit your hundreds digit is four times your thousands digit and your tens digit is the sum of your ones and thousands digit what numbe?

1.382 OR 0.000 or 2831


Programme to write positive numbers until the user enters no and then sum the numbers divisible by 4 that lie between the range of 10 and 50 and finally display the count and the average value?

ALGORITHM SAMPLE i = 0 REPEAT OUTPUT ("Enter a number: ") INPUT (number[i]) i ++ UNTIL (number[i] 0) THEN counter++ sum = sum + number[i] END IF END FOR DISPLAY (counter) DISPLAY (sum / counter) END SAMPLE


what is the answer on how to make a program that will ask the user to enter four number and display the sum and average of that four number?

To create a program that asks the user to enter four numbers and then displays the sum and average, you can follow these steps: First, prompt the user to input four numbers and store them in variables. Next, calculate the sum by adding these numbers together. Finally, compute the average by dividing the sum by four, and then display both the sum and the average to the user. Here's a simple example in Python: numbers = [float(input("Enter number {}: ".format(i+1))) for i in range(4)] total = sum(numbers) average = total / 4 print("Sum:", total, "Average:", average)