Hey Guys,

I'm taking my first Programming Class, and i'm having problems on my current lab...

I'm suppose to ask the user to enter a number, and then print all the even squares between 1 and that number......

I can do the basic structure, asking the program to cycle through 1 and 'n', but for the life of me I can't figure out how to get the program to output all the squares that lie between their....

Code:
#include <stdio.h>
#include <math.h>

int main(void)
{
  
    int i;

    printf("Enter an Integer: ");
    scanf("%d", &n);
    

    if (n>0)
    {
        for(i=1;i<=n;i++) //cycle through 1 to n
        {
            
           
        }   //set of...
    }   //...nested brackets

    else
    {
        printf("Sorry, try inputting a positive number next time.\n");
    }

    return 0;
}