#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; }
Enter x,y values12 12 Subtraction is 0
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
JDBC
JSP
Servlets
Java Quiz
C Material
C Programs
Java Interview Questions and Answers
SQL Interview Questions and Answers
100 Most Asked Java Interview Questions and Answers
Python Interview Questions
Write a Java program to print the ascii value of a given character
Write a Java program to swap the first and last elements of an array and create a new array
Write a Java program to print the sum of two numbers
Write a Java program that takes five numbers as input to calculate and print the average of the numbers
Write a Java program to print the sum, multiply, subtract, divide and remainder of two numbers
Write a Python program that accepts a filename from the user and prints the extension of the file.
Write a Python program to get n (non-negative integer) copies of the first 2 characters of a given string. Return n copies of the whole string if the length is less than 2.
Write a Python program that checks whether a specified value is contained within a group of values.
Write a Python program that prints the calendar for a given month and year.
Write a Python program to find out what version of Python you are using.
Java Quiz - 19
Java Quiz - 12
Java Quiz - 7
Java Quiz - 18
Java Quiz - 21