diff --git a/Vivek.c b/Vivek.c new file mode 100644 index 0000000..b48f701 --- /dev/null +++ b/Vivek.c @@ -0,0 +1,17 @@ + +#include + +int main() { + // stdout fix for old GCC in Alpine + setbuf(stdout, NULL); + + // Read input + double a, b; + printf("Enter 2 numbers: "); + scanf("%lf %lf", &a, &b); + + // Calculate and show the result + printf("%.2lf * %.2lf = %.2lf\n", a, b, a * b); + + return 0; +}