[CODE=Java]import TerminalIO.*;
public class Fibonacci
{
public static void main(String args[])
{
int n, z, q, x, num;
System.out.prin tln("Please enter the number of times you want the sequence to occur.");
KeyboardReader input = new KeyboardReader( );
n = input.readInt() ;
num = 1;
z = 0; //Stores the first number
q = 1; //Stores the second number...