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
5 trabajo semanal 4
final advice
union behaviour when const obj created
B_141104_TresPuntosTriangulo
Static scope
cstructCensus
str_ptr_to_fumc_v2
Class Friday 1/20 Inauguration Day
Assignment 4
-Wfloat-conversion