Multiplication Table

#include<iostream>
using namespace std;

int main() {
	int i, ans;
	cout << "Four Times Table\n";

	/* loop the process using "For loop" */
	for(i=1; i<=10; i++) {
		cout << "4 X " << i << " = " << 4 * i << "\n";
	}
	return 0;
}


/* Output */
Four Times Table
4 X 1 = 4
4 X 2 = 8
4 X 3 = 12
4 X 4 = 16
4 X 5 = 20
4 X 6 = 24
4 X 7 = 28
4 X 8 = 32
4 X 9 = 36
4 X 10 = 40

Comments (0)

  • To add your comment please or

We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.

Got It!