C CODING FOR FREE
9 subscribers
1 photo
Download Telegram
~ "int" stands for integer, which is a data type used to store whole numbers (positive, negative, or zero).

~ %d is a format specifier used in the printf() and scanf() functions to format and display or read integer values
#6_code "sub a two numbers 🔢"
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
#include<stdio.h>
#include<conio.h>
void main()
{
int a=10,b=20,n;
n=a-b;
printf("value of a-b is %d",n);
getch();
}
OUTPUT:
value of a-b is 10
#7_code "multiple a two numbers 🔢"
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
#include<stdio.h>
#include<conio.h>
void main()
{
int a=10,b=20,n;
n=a*b;
printf("value of a*b is %d",n);
getch();
}
OUTPUT:
value of a*b is 30