#include <stdio.h> int main() { double a,b; char c; scanf("%lf%c%lf",&a,&c,&b); if(c != '+' && c != '-' && c != '*' && c != '/') { printf("Invalid operation!\n"); } if(c == '/' && b == 0.0) ...