Compare 2 numbers
Write a program that receives 2 numbers from the input and prints the larger number
Write a program that receives 2 numbers from the input and prints the larger number
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
a = int(input(" namber:") b = int(input("shomare : ") if a > b : print(a) else: print(b)
entry1 = int(input("your number : ")) entry2 = int(input("your number : ")) def chap(num1,num2): if num1 > num2: print(f"number is big : {num1}") elif num1 < num2: print(f"number is big : {num2}") elif num1 == num2: print(f"number1 and number2 is equal") chap(entry1,entry2)
num1 = int(input("number 1: ")) num2 = int(input("number 2: ")) if num1 >= num2: print(num1) else: print(num2)
a=int(input('num:')) b=int(input('num:')) c=0 if a>0: c=a if b>a: c=b print(c)
X=float(input("x: ")) Y=float(input("y: ")) if X>Y: max=X else:max=Y print(max)
A = int(input("Enter Number: ")) B = int(input("Enter Number: ")) Max =max(A,B) print(Max)
num1 = float(input("لطفاً عدد اول را وارد کنید: ")) num2 = float(input("لطفاً عدد دوم را وارد کنید: ")) # Compare and print larger number if num1 > num2: print(f"عدد بزرگتر: {num1}") elif num2 > num1: print(f"عدد بزرگتر: {num2}") else: print("هر دو عدد برابر هستند.")
Submitting answers is currently unavailable.
Things need: The system administrator should be able to log in after entering the Admin username and password 12345 and add a new employee and define the username and password for each employee. The program must be informed ...
Write a program that receives 2 numbers as the interval, in which the interval of all the 5 existing numbers. For example, in the interval of 1 to 20 the number 2 times the number 5 repeated (5 and 15)
To DIV below what css slide to make the heart shape<div class="heart"></div>
Write a program that receives the square side length from the input and calculates its area of square area = a side of its own = a side of a power 2.
Using HTML and CSS, insert an image with the following features on the page.
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.