Solution :
x = float_(input())
y = float_(input())
z = float_(input())
res1 = x**z
res2 = x**(y**z)
res3 = abs(x-y)
res4 = (x**z)**0.5
print('{:.2f} {:.2f} {:.2f} {:.2f}'.format(res1,res2,res3,res4))
Output is :
5.0
1.5
3.2
172.47 361.66 3.50 13.13
Answer:
Algorithms is formula for solving a problem. It is helpful because it specifically give instructions detail to computer to what a computer should perform a specific task.
For e.g. calculating report cards.
Answer:
answer 4
Explanation:
no technology, no computers, no computers= paper and paper= handwriting :-)
Answer:
Explanation:
Let's use Python for this. We will start prompting the user for input number, until it get 0, count only if it's positive:
input_number = Input("Please input an integer")
positive_count = 0
while input_number != 0:
if input_number > 0:
positive_count += 1
input_number = Input("Please input an integer")
print(positive_count)