fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a, b;
  7. for (a = 2; a < 4; a++)
  8. {
  9. for (b = 8; b < 10; b+=2)
  10. {
  11. printf("%d*%d = %d\n", a, b, a*b);
  12. }
  13. }
  14. }
Success #stdin #stdout 0.01s 5304KB
stdin
Standard input is empty
stdout
2*8 = 16
3*8 = 24