Notes
Untitled
Content of the notes (1)
Page 1
EXERCICIO 04
#include
#include
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[])
{
float h = 0;
float numerador = 1;
int denominador = 1;
do
{
h+= numerador / denominador;
numerador += 2;
denominador++;
}
while (numerador printf(" h = %.2f\n" , h);
return 0;
}
exercicio 04
Information
- Description
- Note on Untitled, created by tec_genoveva on 23/10/2014.
- Created by
- tec_genoveva
- Views
- 3
- Rating