Subtraction of two numbers in C

 

Program:

#include <stdio.h>

int main() {

int num1 = 50;

int num2 = 40;

int subtraction = num1 - num2;

printf("The subtraction of two numbers 50 and 40 is %d.", subtraction);

return 0;

}

Output:

The subtraction of two numbers 50 and 40 is 10.
Previous Post Next Post

Cybersecurity - How to stay safe in digital world

Contact Form