Java program to calculate power of a Number | Learn Coding

preview_player
Показать описание
Java Full Course for Beginners...!👇👇

Please Like | Share | SUBSCRIBE our Channel..!
Learn Coding
🙏🙏🙏

Like our Facebook Page...!
Learn Coding

Don't forget to tag our Channel...!
#findPowerOfaNumber
#LearnCoding
#ask4help
#JavaPowerCalculationProgram
#JavaProgramming
#Coding
Рекомендации по теме
Комментарии
Автор

sir aapka Dry runn pura awesome he jab kuch confusion hota he codeing me to Dry runn me 500 percent clear ho jata he thank you very much sir

ytreels
Автор

Sir I'm happy to your effort, which help us to learn java very easily, sir please make a program on fibbonacci series of or

rishabhgautam-dxqc
Автор

ur teaching style is really great .
studying one day prior to the exam
helped me a lot

vihansut
Автор

Thanku sooo much ap bahut he acha samjhate ho sir jo chiz bachpan se clear nhi ho payi wo apne bahut he aasani se km time pe samjha diyaaa thnku so much sir.

Sitalnewar
Автор

Sir Your Teaching Style very awesome👍👍

samreenkoondhar
Автор

Maine Aapki almost all videos dekhe hain

adityacybercafeaurangabad
Автор

Write Java Code to generate output as Specified…
eg.Given number is 345 then show output of 3^1 + 4^2 + 5^3 so, 3+16+125 i.e. 144

jyotiparalkar
Автор

#include <stdio.h>

// function to find factorial of given number
unsigned int fact(unsigned int n)
{
int res = 1, i;
for (i = 1; i <= n; i++)
res *= i;
print res;
}

int main()
{
int num = 5;
printf(
"Factorial of %d is %f", num, factorial());
return 0;
}
Sir can you tell where are the mistakes in this program and can you correct them also run it ..

Btw thank so much for providing these awesome lectures

akanshaparmar
Автор

Ur teaching style is really amazing ❤thanks a lot sir🙏

archanasambrekar
Автор

Can you give a program for finding square root

श्रील-चण
Автор

#include <iostream>
using namespace std;

int main() {
double x;
int n;
cout << "Enter base x: ";
cin >> x;
cout << "Enter exponent n: ";
cin >> n;

double result = 1.0;
for (int i = 0; i < n; i++) {
result *= x;
}

cout << "x to the power n is: " << result << endl;

return 0;
}

HamzaBinSaleem
Автор

WAP to create class name as Power with two functions void setValue(int x, int y) and int
getPower()
void setValue(int base, int index): accept two values as parameter first as base and second index int getPower(): this function can calculate power two number and return it
we have to create one more class name as PowerApplication which contain main method
Please Sir Expain The Java Program

vishalghule
Автор

Sir dsa algo with java series lao plz
Love from haryana

Mc_gammet
Автор

Very NYC explanation sir u r great
Please upload oops asap

farazahmad
Автор

can u make a program . when i run the program, program is show result & exit but i wanna continues works

radhebhai
Автор

Fiind Armstrong no between range ???
m to n!!!

srashid
Автор

Armstrong no for any user input not within the 1-1000

ITloversiT
Автор

Write a program menu driven for composite no or not

prabhatcreations
Автор

Here we can also use Math.pow function

saiagrawal
Автор

Sir mere paas kuch question hai.. Mai abhi send krungi to aap kya answer bta skte hai

Animelover-zwte