C语言学习第二章(英文版)(精品·公开课件).pptVIP

  • 5
  • 0
  • 约1.08万字
  • 约 38页
  • 2018-11-05 发布于广西
  • 举报

C语言学习第二章(英文版)(精品·公开课件).ppt

2.7 Repetition Structure(for) The flowchart of the for loop: initialise START test STOP False True body of loop increment 2.7 Repetition Structure(for) Example program (Page 67) #includestdio.h void main() { int p,n,count; float r,si; for(count=1;count=3;count=count+1) { printf(”Enter Values of p, n and r”); scanf(”%d %d %f”, p,n,r); si=p*n*r/100; printf(”Simple Interest =Rs. %f\n”, si); } } 2.7 Repetition Structure(for) Flowchart of the program START c

文档评论(0)

1亿VIP精品文档

相关文档