Demofile.txt Hello! Welcome to demofile.txtThis file is for testing purposes.Good Luck!
Category: Mini-Programs
Go Open File
Open a File on your local storage media Assume we have the following file, located in the same folder as Go main program that open a file. Demofile.txt Hello! Welcome to demofile.txtThis file is for testing purposes.Good Luck! Output: Hello! Welcome to demofile.txtThis file is for testing purposes.Good Luck!
Go User Input
User Input Go allows for user input. That means we are able to ask the user for input.
FizzBuzz
For numbers which are divisible of both 3 and 5, print “FizzBuzz” instead of the number. Divisible by 3 print “Fizz” and divisible by 5 print “Buzz”