calculator tag

3 questions


1 answers
73 views
0
Python postfix Calculator Questions

I made a postfix calculator with Python, and the result came out weirdThe first line is a formula The second line is the output of the infix converted into a postfixIn the last line, the result value ...


1 answers
100 views
0
cLanguage Exception Occurred

#include <stdio.h>int main(){ int n1 = 0, n2 = 0; char c = 0; int val = 0; printf (Enter an expression: ); scanf_s(%d%c%d, &n1, &c, &n2); switch (c) { case '+': val = n1 + n2; pri...

2 years ago

1 answers
86 views
0
I have a c++ language beginner question.

Even if you enter numbers that do not fall apart by dividing them into 10 and 4, the decimal point does not come out properly. How can I get a decimal point? ㅠ

2 years ago

© 2024 OneMinuteCode. All rights reserved.