fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. char sendBuffer[1000];
  6. float count;
  7. int i;
  8.  
  9. for(count=1.5;count<=2.5;)
  10. {
  11. for(i=0;i<=15;)
  12. {
  13. snprintf(sendBuffer, sizeof(sendBuffer), "%.1fabc%d", count, i);
  14. printf("%s\n",sendBuffer);
  15. i=i+5;
  16. }
  17. count=count+0.5;
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0s 1788KB
stdin
Standard input is empty
stdout
1.5abc0
1.5abc5
1.5abc10
1.5abc15
2.0abc0
2.0abc5
2.0abc10
2.0abc15
2.5abc0
2.5abc5
2.5abc10
2.5abc15