HI, i'd like to do a simple calculator in c. i write this program but all the results about subtraction ( SOTTRAZIONE) are not correct. can you told me why? thanks you so much

Inline Code Example Here
case 2:
printf ( "the subtraction of these n numbers is : ");
printf ( "%d\n" , sottr );
break;

Could you show us the code of your calulation please?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.