#include<iostream>
#include<conio.h>
void main ( )
{
int a, b, c;
int sum = 0;
int sub;
float prod =1;
float div;
if (12<a && a<20)
sum = a+b+c;
else if (b>30)
sub = b-c;
else if (10<c<18)
prod = a*b;
else
div =c/a;
cout<<" The values of sum, sub, prod and div are:"<<sum<<sub<<prod<<div;
getch( );
}