+ 1

This is my code for simple calculate with reverseing process it isnt work properly 😢😢😢😢😢😢

#include<stdio.h> int main() { printf("*********************************************\n"); printf("WELCOME TO INTEGER SIMPLE CALCULATER\n"); printf("*********************************************\n"); printf("INTEGERS ONLY\n"); int a,b,c; char co,ch; print: printf("Enter first integer: \n");//getting first number scanf("%d",&a); printf("Enter second integer: \n");//getting second number scanf("%d",&b); printf("\nAdd(1), Subtract(2), Multiply(3), Divide(4): ");//getting operations scanf("%d",&co); printf("\n"); switch(co) { case(1)://if ADD c = a + b; printf("%d + %d = %d\n", a, b, c); break; case(2)://if SUBSTRACT c = a - b; printf("%d - %d = %d\n", a, b, c); break; case(3)://if MULTIPLY c = a * b; printf("%d

20th Aug 2020, 7:35 AM
narthana wickramasinghe
narthana wickramasinghe - avatar
1 Odpowiedź
+ 1
narthana wickramasinghe Your code is too big to fit in the thread Description, and because of that, it gets truncated. Rather save the code in SoloLearn and share its link, it won't need so much space, and people find it more comfortable to read and debug. Follow the below guide to shareing links 👇 https://www.sololearn.com/post/75089/?ref=app
20th Aug 2020, 8:56 AM
Ipang