MasteringGroovy - FizzBuzz code in Groovy | Popular children game & interview question

preview_player
Показать описание
Get your hands dirty by writing a program to create a popular children game called FizzBuzz.

#FizzBuzz #GroovyConsole #MasteringGroovy #GroovyTutorial #GroovyCourse #InterviewQuestion #CodingInterview

####

Jira books and Video courses (Available to buy)

Free Video courses

Social

####
Рекомендации по теме
Комментарии
Автор

Thanks for this series.. really helped me understand the basics of groovy

SrinivasReddy-oced
Автор

hi, can you help me why it did not print?

//range 1 to 100
//if the number is divisible by 3: the output will be fizz
//if the number is divisible by 5: the output will be buzz
//if the number is divisible by 3 && 5: the output will be fizzbuzz

for(i=1; i<=100; i++ ) {
println(i)
}

הדסוירצברג