Browsing category

Calculations

Python program to multiply two numbers

Python program to multiply two numbers In this tutorial, we will discuss Python program to multiply two numbers. In this topic, we will learn how to multiply two integer number in the Python programming language multiply two integer numbers num1=int(input(“Enter the first number: “)) #input value for variable num1 num2=int(input(“Enter the second number: “)) #input value for variable num2…

CPP program to multiply two numbers

CPP program to multiply two numbers In this tutorial, we will discuss the CPP program to multiply two numbers. In this topic, we will learn how to multiply two integer number in the C++ programming language   Multiply two integers Program 1 #include <iostream> #include <conio.h> using namespace std; int main() { cout << “Multiply…

C program to multiply two numbers

C program to multiply two numbers In this tutorial, we will discuss the C program to multiply two numbers. In this topic, we will learn how to multiply two integer number in the C programming language Multiply two integer value Program 1 #include <stdio.h> #include <stdlib.h> int main() { int f_no,s_no,product; printf(“Enter the first number:…

Java program to multiply two numbers

Java program to multiply two numbers In this tutorial, we will discuss the Java program to multiply two numbers. We will learn how to multiply two integer numbers Multiply two integer numbers Program 1 public class Multiply_Two_num{ public static void main(String args[]){ int num1=34,num2=45,product;//variable declaration product=num1*num2;//multiplication of numbers System.out.println(“The product of given two numbers is:…

C program to the sum of two numbers

C program to the sum of two numbers In this tutorial, we will discuss the C program to the sum of two numbers. In this topic, we will learn how to find the sum of two integer number in C language Sum of two integer Program 1 #include <stdio.h> #include <stdlib.h> int main() { int…

Python program to sum of two numbers

Python program to the sum of two numbers In this tutorial, we will discuss the Python program to the sum of two numbers In this topic, we will learn how to add two numbers in Python programming language Sum of two integer numbers #find sum of two integer numbers f_no=35 #variable declaration s_no=55 sum=f_no +…

Cpp program to sum two numbers

Cpp program to sum two numbers In this tutorial, we will discuss the topic of Cpp program to sum two numbers In this topic, we will learn how to add two numbers in C++ programming language Find Sum to numbers  Example- 1 Program 1 #include <iostream> #include <conio.h> using namespace std; int main() { int…

Java program to sum of two numbers

Java program to the sum of two numbers In this tutorial, we will discuss the Java program to the sum of two numbers In this topic, we will learn how  to add two numbers in Java programming language Sum of two numbers public class Add_Two_Numbers{ public static void main(String args[]){ int num_1=23,num_2=32,sum; //declare variables sum=num_1+num_2;…