Quick actions

cmd+k|ctrl+k

Navigation

Languages

Logical operators

Snippet info

Language

C

Visibility

public

Author

krishnakanth

Created

2022-11-25T04:07:46.680917Z

Updated

2022-11-25T04:14:36.11985Z

#include <stdio.h>

int main(void){
	int p , q, r, s;

	printf("Enter the frist Number :");
    scanf("%d", &p);
    printf("Enter the second Number :");
    scanf("%d", &q);
    printf("Enter the Third Number :");
    scanf("%d", &r);
    printf("Enter the Last Number :");
    scanf("%d", &s);

    if((q>r) && (s>p) && ((r+ s)>(p+q))&& (r > 0) && (s>0)&&(p%2==0))
    {
        printf("\n correct values \n");
    }else{
        printf("Wrong Values");
    }

    return 0 ;

}
INFO