Find the programs' errors and tell me the error, the type of error, and the correction.
1)
Num1= 7
Num2=8
Sum = num1 + Num2
2)
num = float(input("Enter a number: "))
if num < 0:
print("Positive number")
elif num == 0
print("Zero")
else:
Print("Negative number")
3)
num1 = float(input("Enter first number: "))
num2 = float(input("Enter second number: "))
num3 = float(input("Enter third number: "))
if (num1 <= num2) and (num1 <= num3)
largest = num1
Elif (num2 >= num1) and (num2 >= num3):
largest == num2
else:
largest = num3
print("The largest number is", largest)
Answers
Answered by
1
Answer:
थतमय
रदर
Answered by
0
Given :-
A rational number is such that when we multiply it by 5/2 and add 2/3 to the product, we will get -7/12.
To Find :-
What's the number?
Solution :-
Let the Rational Number be x.It’s given that when we multiply it by 5/2 and add 2/3 to the product, we will get -7/12.
⠀⠀⠀⠀⠀
Similar questions