+ 4
What Is theOutput of this code.
i=0 x=0 while i<4: x+=i i+=1 print(x)
10 odpowiedzi
+ 6
U will get an error as an output, because this code isnt working 🧐😐
+ 5
Vìñøď Ťãřąk
Syntax error
+ 4
The code gives indentation error
because you are missing indentation after while okk:
Here Correct code is
x=0
j=0
while(x<4):
j+=x
x+=1
print(j)
The output of the code is: 6
+ 2
What is the language for this code?
https://www.sololearn.com/discuss/1316935/?ref=app
+ 1
what will happen if you try to open a file which does not exist in append mode in c programming
+ 1
Write a C ++ program that computes and returns: • the smallest positive integer (n) for which 1 + 2 + 3 + ... + n equals or exceeds your goal value. their (sum). For example, if the goal has the value 9, then the function will return 4 because 1+2+3+4 >= 9 and will return 10. Another example, if the goal has the value 25, then the function will return 7 because 1+2+3+4+5+6+7 >= 25 and will return 28. Note: use void function, and return (n) and (sum) using call by reference.
Help...
0
6
0
Syntax error. Your indentation are wrong.
- 1
Mostly
1
3
6
Or direct
6
depends on the indentation
- 2
Anitha it will create the file