fork download
  1. #include<stdio.h>
  2. int main(){
  3. int a=5,b=1;
  4. while(b<=5)
  5. {a=3*a+2;
  6. b=b+1;}
  7. printf("a5は%dです。",a);
  8.  
  9. return 0;}
  10.  
Success #stdin #stdout 0.01s 5304KB
stdin
Standard input is empty
stdout
a5は1457です。