Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C_141106_Potencia
//Title of this code #include <stdio.h> int main(void) { double base; unsigned short exponente, i; double potencia; printf("Base ........ "); scanf(" %lf", &base); printf("Exponente ... "); scanf(" %hu", &exponente); i = exponente; potencia = 1; while(i != 0) { potencia *= base; i--; } printf("%lf elevado a %hu es %lf\n\n", base, exponente, potencia); return 0; }
run
|
edit
|
history
|
help
0
use_of_bool_in_loop
Swap.c
Add.c
18BCE2182 LAB FAT-2-A-i
% with negative numerator and positive denominator (gcc)
Spring 2017 Project 2 v.05
printf
Assignment 4
ultimo cuestionario
18BCE2182 ASSESS_1 Q1-1