Nested If Statement

#include <stdio.h> // for printf and scanf


main()
{
float r = 2.0;

int num1 =5, num2=3, c = 3, k =4;
if((num1 == 5) && (num2 == 7) )
    {
        printf("qqq\n");
        r += ++k + c++;
    }
else
    if ( (num1 !=5) || (num2 == num1) )
        {
            printf("$$$\n");
            r -= k++ + ++c;
        }

    else
        {
            printf("###\n");
            r += k++ + ++c;
        }
    printf("****%5.1f***%3i***%4i\n",r,c,k);

if((num1 == 4) && (k == 5) )
    k += ++k + 1.5;
else
    if ( (num1 == 5) || (num2 == num1) )
        k -= ++k + 1.5;
    else
        k -= ++c + 1.5;
printf("%3immm%4i",c,k); 

return 0;
}
/*
###
**** 10.0*** 4*** 5
4mmm -2
*/