Write a Program to compute the addition , subtraction , product , quotent and remainder of two given numbers.

Write a Program to compute the addition , subtraction , product , quotent and remainder of two given numbers.

C Programming
C Programming

Write a Program to compute the addition , subtraction , product , quotent and remainder of two given numbers.

#include <stdio.h>
#include <conio.h>
int main ()
{
    int a , b , sum , divide , product , rem , subt ;
    printf(“Input two numbers : “);
    scanf(“%d %d” , &a , &b );


    sum = a+b;
    subt = a – b;
    divide = a/b ;
    rem = a%b ;
    product = a * b ;


    printf(“Sum of %d and %d is %d.\n” , a , b , sum );
    printf(“Subtraction of %d and %d is %d.\n” , a , b , subt );
    printf(“Product of %d and %d is %d.\n” , a , b , product );
    printf(“Divide of %d and %d is %d.\n” , a , b , divide );
    printf(“Remainder of %d and %d is %d.\n” , a , b , rem );

    return 0;
}

Topics Covered :

 

  • find quotient and remainder in c++
  • how to find quotient and remainder in c++
  • c++ program to find quotient and remainder
  • c++ programs
  • c++ programming tutorial
  • c++ programming language
  • programming
  • quotient and remainder in c
  • how to write a calculator program – add
  • c program to make simple calculator
  • learn c programming
  • c programming basics
  • subtraction
  • c programming tutorial
  • c programming
  • division using c language
  • c programming for beginners
  • c language tutorial for beginners
  • calculator program in c
  • calculator program
  • trending
  • multiplication
  • youtube shorts
  • calculator
  • c language
  • shorts

 

 


 

 


 

Thanks for reading this blog. Hope you get satisfied with the blog and definitely this blog must have valued your time and effort of reading.

Take a time to connect our other digital creations such as Instagram , Facebook and Youtube.

 

🧑‍💻🧑‍💻 Social Media Links of Tech DCode :

👉🏻 YouTube : https://www.youtube.com/channel/UCjJnEdeugftBwQ3yMuD4B_A
👉🏻 Instagram : https://www.instagram.com/thetechdcode/
👉🏻 Facebook Page : https://www.facebook.com/thetechdcode
👉🏻 Twitter : https://twitter.com/thetechdcode
👉🏻 Telegram Channel : https://t.me/thetechdcode
👉🏻 Tech DCode Linktree : https://linktr.ee/thetechdcode
👉🏻 My Personal Handles : https://linktr.ee/virtualshivamin

🧑‍💻🧑‍💻 Social Media Links of SHIVAM SINGH (OWNER) :

👉🏻 Instagram : https://www.instagram.com/virtualshivamin/
👉🏻 Facebook Page : https://www.facebook.com/virtualshivamin/
👉🏻 Twitter : https://twitter.com/virtualshivamin/
👉🏻 Personal Linktree : https://linktr.ee/virtualshivamin 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *