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 division of two numbers?

  1. Home
  2. C Language Programs

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

Write a C-program to print division 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("Division is %d",z);
  
    return 0;
}
                                            

Output:

Enter x,y values12 12
Division is 1 (Quotient output)




More Programs


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
19 . Write a C-program to print bitwise NEGATION operation
20 . Write a C-program to print bitwise LEFT SHIFT 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 display the system time

Write a Program to Find largest and smallest number in an array in java

Write a Java program to print the even numbers from 1 to 20

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

Python Practice Programs

Write a Python Program to print Palindrome numbers from 1 to 100

Write a python program to check two strings are Anagram or not

Write a python program to merge nested lists ?

Write a python program to calculate average using python *args ?

Write a Python program to find the area of a triangle.

Java Quiz

Java Quiz - 2

Java Quiz - 15

Java Quiz - 12

Java Quiz - 3

Java Quiz - 21

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