Horje
c program for airthmetic operators Code Example
c program for airthmetic operators
#include<stdio.h>

int main(){

int num1,num2;
Int add,sub,mul,div,mod;

printf(“\nEnter First Number :”);
scanf(“%d”,&num1);

printf(“\nEnter second Number :”);
scanf(“%d”,&num2);

add = num1 + num2;
printf(“sum of entered no’s are %d”,add);

sub = num1 - num2;
printf(“subtraction of entered no’s are %d”,sub);

mul = num1 * num2;
printf(“Multiplications of entered no’s are %d”,mul);

div = num1 / num2;
printf(“Divisions of entered no’s are %d”,div);

mod = num1 % num2;
printf(“Modulas of entered no’s are %d”,mod);

}




C

Related
worst case Code Example worst case Code Example
terraform fargate cpu Code Example terraform fargate cpu Code Example
Redis Service Code Example Redis Service Code Example
bullseye lxc network problem Code Example bullseye lxc network problem Code Example
Integer Output Code Example Integer Output Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8