Posts by Kevin Oliveira da Silva • 1 point
2 posts
-
0
votes2
answers126
viewsA: Factorial calculation in an arithmetic progression
Thank you guys, I managed to find a way to resolve thanks to the comments and reply. I did it this way: #include<stdio.h> int main(){ int x = 2; int i = 1; double fat; int aumento1 = 3,…
-
0
votes2
answers126
viewsQ: Factorial calculation in an arithmetic progression
I need to create a program that calculates the factorial started with 2 and add 2 more to each repetition until it reaches 20 times. Ex: 2!, 4!, 6!, 8!... I tried several ways, but every time I…