Multiple Statements within if

it’s also possible to insert multiple if statements inside any code block as :

#include<stdio.h>
int main()
{
    int age = 32;
    if(age > 30)
    {
           printf("age is greater than 30\n");
           if(age<40)
           {
                     printf("age is greater than 30 but less than 40");
           
           }
}
    getchar();
    return 0;
}