- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to perform Multiplication of Exponents of same base using C#?
Firstly, set the base.
double n = 2;
Now set the two exponents for division.
double e1 = 5; double e2 = 4;
Let us see the complete code to get the result of multiplication of exponents of the same base.
Example
using System; class Demo { static void Main() { double res, n, e1, e2; n = 2; e1 = 5; e2 = 4; res = e1 + e2; Console.WriteLine("Result = {0}^{1} : {2}", n, res, Math.Pow(n, res)); Console.ReadLine(); } }
Output
Result = 2^9 : 512
- Related Articles
- How to perform Division of Exponents of Same Base using C#?
- C++ Program to Perform Matrix Multiplication
- C++ Program to Perform Complex Number Multiplication
- Find multiplication of sums of data of leaves at same levelss in C++
- How to perform element-wise multiplication on tensors in PyTorch?
- How to perform tukey HSD in base R?
- PyTorch – How to get the exponents of tensor elements?
- How to perform Merge Sort using C#?
- How to perform Matrix Addition using C#?
- Multiplication of two Matrices using Java
- Find multiplication of sums of data of leaves at same levels in Python
- C++ Program to Implement Booth’s Multiplication Algorithm for Multiplication of 2 signed Numbers
- How to Display the multiplication Table using Python?
- How to perform sort using Java?
- Explain the importance of exponents and power.

Advertisements