Browsing tag

operator

Cpp program to calculate sum of array elements

Cpp program to calculate the sum of array elements In this tutorial, we will discuss the Cpp program to calculate the sum of array elements. In this topic, we will learn how to calculate the total value of array elements.   Program 1 This program calculates the total value of numbers stored in an array…

Java Program to calculate average of an Array

Java Program to calculate the average of an Array In this tutorial, we  discuss a simple concept of Java Program to calculate the average of an Array In this topic, we can learn how to calculate the average of n number of elements (integer or floating point)using the array in Java programming language. Average calculated…

C program to multiply two numbers using function

C program to multiply two numbers using the function In this tutorial, we will discuss the C program to multiply two  numbers using the function In this topic, we will learn a simple concept of how to multiply two numbers using the function in the C programming language already we learned the same concept using the operator….

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:…

All type of the operators in Java with example

All type of the operators in Java with the example In this tutorial, we will learn about All type of the operators in Java programming language with example Operators are special symbols, using to perform the specific task on the operand Java provides a rich set of the operator (different type)to manipulate variables. We can…