#include <stdio.h>
int main() {
    int a, b ,small;
    printf("enter a number \n");
    scanf("%d %d", &a , &b);
   { if ( a < b)
    small = a ;
    else 
    small = b;
   }
   printf("smallest of the two no : %d",small);
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: