Answer:
number1 = float(input("Enter the first number: "))
number2 = float(input("Enter the second number: "))
number3 = float(input("Enter the third number: "))
avg = (number1 + number2 + number3) / 3
product = number1 * number2 * number3
print("Average - Product with integer numbers: " + str(int(avg)) + " " + str(int(product)))
print("Average - Product with float numbers: %.6f %0.6f" % (avg, product))
Explanation:
- Get three numbers from the user
- Calculate the average of the numbers
- Calculate the product of the numbers
- Print average and product of the numbers in required format
Answer:
B. 11110111
Explanation:
Binary representation of number 9 = 00001001
Binary representation of -9 would involve calculating the twos complement representation of 00001001
First we compute the ones complement of this number by reversing the bits.
00001001 => 11110110
Next we calculate the twos complement representation by adding 1 to the ones complement.
11110110+1 = 11110111
So the final representation is 11110111.
User experience is one of the most important things considered in the modern IT world. Almost 90% of the population is dependent on mobile phones, electronic devices. So, one things that come is app development. Therefore, in order to enhance more growth in app development, there need to better user experience. We need to think about users and i don't Know More info.