Answer:
Using python programming language.
Explanation:
#to define the function write as below
def equal():
#to get the two integers from the user
#The user is asked for input in the code below.
x = int(input("Enter the value for X"))
y= int(input("Enter the value for y"))
if x==0 and y==0:
print("both numbers are ", "0")
elif: x==1 and y==1: #This test if both x and y are 1
print("true")
elif: x==y: #this line test if both values are equal
print("true")
else:
print("False")
equal() #end of the function
C because bread is not happy with you
Answer:
function timesTen (number):
return number * 10
n = int(input("Enter an integer: "))
print(str(n) +"x10 is equal to: " + str(timesTen(n)))
Explanation:
Pseudocode is the representation of an algorithm. It shows the steps of the algorithm combination of the English and programming language.
In the pseudocode, we said we will be defining a function called timesTen that takes one parameter and returns the value of its parameter multiplied times 10.
In the main, we asked the user to enter a number. Then, we called the function with that number, and print the result.
Leave the room and let someone else figure it out!