answersLogoWhite

0

#include <math.h>

double a, b, result;

result = pow (a, b);

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How can the context-free grammar CFG be defined in terms of the variables i, j, and k, where i is equal to j plus k, and the grammar generates strings consisting of a raised to the power of i, b raised to the power of j, and c raised to the power of k?

In the context-free grammar CFG, the variables i, j, and k represent the exponents of a, b, and c respectively in the generated strings. The variable i is equal to the sum of j and k. The grammar produces strings with a raised to the power of i, b raised to the power of j, and c raised to the power of k.


Who are the ancestors of C programming language?

programming languages B and BCPL which was used to derive C


What are examples of programming languages?

C, C++ and java are a couple. There are still many other programming language.


To what power is the binomial a plus b raised?

It can be raised to any power.It can be raised to any power.It can be raised to any power.It can be raised to any power.


What is the unit of programming in c plus plus A. Function B. class C. object D. Attribute?

B. Class.


IN cobol programming language what is the meaning of add AB giving C?

Let c = a+b


What has the author R C B Cooper written?

R. C. B. Cooper has written: 'Preserving abstraction in concurrent programming'


What is the standard form for an equation of a line?

Ax+By=C This is the standard form of a linear equation. This can be rearranged to By = -Ax + C or further y = (- A/B)x + C/B Where '-A/B' is the slope/gradient and 'C/B' is a constant - the point where the line intersects the y-axis. NB Curved lines have either 'x' or 'y' raised to a power/index.


Write a program in c language to find the value of a raised to power b where a and b are natural numbers using while loop?

You can do it simpler just by using preprocessor directive#include void main(){int a, b;cout > a;cout > b;cout b;for (int i =1; i


What are example of programming software?

c,c++,b,BASIC,Python,Java,Visual C, Visual C++ and visual basic


Why did they invented the C programming language?

Before the invention of C, there was a language named 'B'. So, to overcome some drawbacks in this B-language, C had been invented.


What does c in c stand for?

C does not stand for any specific abbreviation. C is from CPL (Computer Programming Language), then BCPL (Basic Computer Programming Language), which spawned both B (pretty much unused now) and C.