Write a complete program that will write a file (named output.txt) thatcontains the integers from 1 to 100 (both inclusive), each on their own line, exceptthat if the number is divisible by 5 it instead prints fizz and if it is divisible by 7 itprints buzz (and if it is divisible by both it prints fizzbuzz).
Don't use an array
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here