Answer:
Following is the algorithm to interchange the value of two variable x and y.
step 1:Read the two integer x and y.
step 2 :t=x
Step 3: x=y
step 4: y=t
The minimum number of assignment to do this is 3
Explanation:
After reading two integer x & y, create a variable "t" of integer type.
with the help of variable "t", we can swap the value of variable x and y.
It requires 3 assignment to interchange the value.
Answer:
Tabs
Explanation:
The ribbon contains the tabs. The tabs contain the command groups which hold commands
IF THIS HELPS PLEASE MARK THIS ANSWER AS BRAINLIEST
QR codes make up the basic structure of a relational database with columns containing field data and rows containing record information.
num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
operation = input("Which operation are you performing? (a/s/m/d) ")
if operation == "a":
print("{} + {} = {}".format(num1, num2, num1+num2))
elif operation == "s":
print("{} - {} = {}".format(num1, num2, num1-num2))
elif operation == "m":
print("{} * {} = {}".format(num1, num2, num1*num2))
elif operation == "d":
print("{} / {} = {}".format(num1, num2, num1/num2))
I hope this helps!