I wrote a simple digits comparison program in C, while compiling its throwing me an error message stating that 

```
**/tmp/ccX3X0AI.o: In function `main':
3e.c:(.text+0x11): undefined reference to `Printf'
collect2: ld returned 1 exit status**

```

The program is 

```
**#include<stdio.h>

int main()

{
    int a, b, c, d ;
    Printf ( "Enter 4 numbers" ) ;
    scanf ( " Enter 1) %d, \n Enter 2) %d, \n Enter 3) %d, \n Enter 4) %d ", &a , &b, &c, &d ) ;

    if ( a >= b )
        {
            if ( c >= d )
                {
                    if ( c >= a )
                        {
                            printf ( "Enter C is Greater" ) ;
                        }
                    else 
                        {
                            printf ( "Enter A is Greater" ) ;
                        }
                }
            else 
                {
                    if ( d >= a)
                        {
                            printf ( "Enter D is greater" ) ;
                        }
                    else 
                        {
                            printf ( "Enter A is Greater" ) ;
                        }
                }
        }

    else 
        {
            if ( c >= d )
                {
                    if ( c >= b)
                        {
                            printf ( "Enter C is Greater" ) ;
                        }
                    else 
                        {
                            printf ( "Enter B is greater" ) ;
                        }
                }
            else 
                {
                    if ( d >= b )
                        {
                            printf ( "Enter D is Greater" ) ;
                        }
                    else 
                        {
                            printf ( "Enter B is Greater" ) ;
                        }
                }
        }
}
**

```

I'm not sure where exactly to point the error. At the same time I'm trying to write the same code by using conditional operators in C.