answersLogoWhite

0

A raised to power b in C programming?

Updated: 10/19/2022
User Avatar

Wiki User

14y ago

Best Answer

#include <math.h>

double a, b, result;

result = pow (a, b);

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: A raised to power b in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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.


Which language is predecessor to C programming language?

hi everyone.. predecessor to C is B.. don think it's a joke.. in UNIX OS , the assembly code was machine dependent.. so,the version could not be portable.. so Ken Thompson rewrite the whole UNIX code in the new language called B.. But B missed several necessary aspects for real life programming.. so, Ritchie invented the new language called C which solved the inadequacies of B.. that's all... be happy.. be cool..