But it says
We stopped solving the question, started to discuss about the question :p
Then, if it's b is the exponent. Then, let's solve it with a is number, b is exponent. :)
if a is 2,...
Type: Posts; User: isthanblue
But it says
We stopped solving the question, started to discuss about the question :p
Then, if it's b is the exponent. Then, let's solve it with a is number, b is exponent. :)
if a is 2,...
in the assignment paper here it's the table :
http://img530.imageshack.us/img530/7503/gdsf1lx8.jpg
i think, a is exponent. b is number that we'll calculate the result. ? am i wrong ? then, i...
Shouldn't I use that pow function ? pow(a,b) ? Do I've to write a new function ?
#include <stdio.h>
int main() {
int a, b, result;
int c;
on the table, left side is power (a), upside is number (b).
power function :
#include <stdio.h>
#include <math.h>
int main() {
Write a function that calculates a to the power b. Write another function that calls this function and print a table of exponantials for the given a, b values. Exponents are from 0 to a, and numbers...