Skip to content

davidteoo/if-else-statement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

if-else-statement

package main

import ( "fmt")

func main() { if num := 50; num % 2 == 0 { fmt.Println(num,"is even") } else { fmt.Println(num,"is odd") } }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published