#include int main(void) { /* Variables declaration */ long double a,b; long double sum,diff,product,ratio,remainder; int left_shift, right_shift; /* Input section */ printf("Enter first number:"); scanf("%Lf",&a); printf("Enter second number:"); scanf("%Lf",&b); /* Computation */ sum = a+b; diff = a-b; product =a*b; ratio=a/b; remainder= ((int)a) % ((int)b); left_shift= ((int)a) << ((int)b); right_shift= ((int)a) >> ((int)b); /* Output section */ printf("Sum=%Lf, Difference=%Lf\n",sum,diff); printf("Product=%Lf, Ratio=%Lf\n",product,ratio); printf("Remainder=%Lf\n",remainder); printf("Leftshifted value=%d,Rightshifted value=%d\n",left_shift,right_shift); return 0; }