Watch This Video
//if and else
def x=10
if (x==10){
println "x is 10"
}
else{
println "x is not 10"
}
// while
def i=1
while (i<=10)
{
println i
i++
}
//using for loop
def list =[1,2,3,4]
for (num in list){
println num
}
We provide Seo,wordpress,digital marketing,pythan,go programming,c,c++,Php with Project,php laravel With project many More courses .
Watch This Video
No comments:
Post a Comment
Note: only a member of this blog may post a comment.