0
How to declare integer variable and set its value as 5?
5 odpowiedzi
+ 3
python a =5
c# int a = 5;
js var a = 5;
java int a= 5;
+ 3
Python & Ruby: x = 5
JS & Swift: var x = 5
Java & C++ & C#: int x= 5
PHP: $x=5
Hope this was helpful!😁
+ 2
kaliki, would you add a semi-colon for those languages where the statement must end with a semi-colon? ☺ For more clarity
0
int var =5 is the answer