fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int an,n;
  6. an=-1;
  7. n=3;
  8. for(int i=0;i<n;i++){
  9. an=3*an+5;
  10. }
  11. printf("%d",an);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
38