2 Réponses
+ 1
//int m = minus(a, c); //int s = sum(a ,c ); if (b == 1) // 1 for + { printf("enter a number \n"); scanf("%d", &c); int s = sum(a ,c ); printf("Sum is : %d", s); } else if (b == 2) // 2 for - { printf("enter a number "); scanf("%d", &c); int m = minus(a, c); printf("minus is :%d \n", m); }
5th Mar 2023, 5:11 PM
rodwynnejones
rodwynnejones - avatar
0
Thank you so much solved
6th Mar 2023, 1:49 AM
Chirag Sharma
Chirag Sharma - avatar