0
Set the value of y to 1,if x =>0. If x <0, set the value of y to 2. (Assume x have a value).
6 odpowiedzi
+ 10
Homework?
+ 1
y=1
y=2
Assume value= int (input ("x"))
if x=>0
print (y)
else:
x <0
lol I'm confused.plz help
0
thanks bro.i appreciate
0
what is the different between elif and else?
0
// Assume that x and y are declared
if(x >= 0)
y = 1;
else
y = 2;