Posts by Karina • 39 points
4 posts
-
0
votes2
answers177
viewsA: Doubt in exercise with factorial and large numbers
I was able to answer the exercise and arrive at the expected result. The problem was in the very order of operations. #include <stdio.h> #include <math.h> int main(){ //VARIAVEIS…
-
1
votes2
answers177
viewsQ: Doubt in exercise with factorial and large numbers
I need to do an exercise that asks for the Y value given by Y = x + x 2/2! + x 3/3! + x 4/4! + ... , considering the first 15 terms. I’m having problems because the factorial results from the 10…
-
1
votes1
answer67
viewsA: Doubt in exercise with rule of 3
Guys, I was able to do it with the help of this site: https://math.stackexchange.com/questions/1070438/getting-percentage-difference-between-two-numbers #include <stdio.h> int main (){ float…
-
1
votes1
answer67
viewsQ: Doubt in exercise with rule of 3
I’m making a list of exercises and in one of them I need to calculate the inflation of two commodities from one month to the next. I was able to do the exercise for when inflation is <= 100%, but…