MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a C-program to print subtraction of two numbers?

  1. Home
  2. C Language Programs

Write a C-program to print subtraction of two numbers?

Write a C-program to print subtraction of two numbers


#include <stdio.h>
                                                                         
int main() {
    int x,y,z;
    printf("Enter x,y values");
    scanf("%d%d",&x,&y);
    z=x-y;
    printf("Subtraction is %d",z);
  
    return 0;
}
                                            

Output:

Enter x,y values12 12
Subtraction is 0




More Programs


8 . Write a C-program to print subtraction of two numbes
9 . Write a C-program to print multiplication of two numbes
10 . Write a C-program to print division of two numbes
11 . Write a C-program to print modular division of two numbes
12 . Write a C-program to print swaping of two numbers with using third variable
13 . Write a C-program to print swaping of two numbers without using third variable
14 . Write a C-program to print relation of two numbers
15 . Write a C-program to print logical operators program using &&, || ,!
16 . Write a C-program to print bitwise AND operation
17 . Write a C-program to print bitwise OR operation
18 . Write a C-program to print bitwise CAP operation



Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a java Program to print N prime numbers and find sum and average

Write a Java program to convert a binary number to decimal number

Write a Java program to convert a string to an integer

Write a Program to remove duplicate element in an array

Write a Java program to compute the square root of an given integer

Python Practice Programs

Write a Python Program to Check Leap Year.

Write a python program startswith and Endswith Methods

Write a Python program to count number of vowels in the given string

Write a program to print swapping variables

Write a Python program to find out what version of Python you are using.

Java Quiz

Java Quiz - 20

Java Quiz - 9

Java Quiz - 2

Java Quiz - 23

Java Quiz - 12

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
Newsletter

Dolor amet sit justo amet elitr clita ipsum elitr est.

© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs