diff --git a/MultiplicationTable.c b/MultiplicationTable.c new file mode 100644 index 0000000..cb6304f --- /dev/null +++ b/MultiplicationTable.c @@ -0,0 +1,10 @@ +// WAP to print the multiplication table for a given number. + +void main() { + int n, i; + printf("Enter an integer: "); + scanf("%d", &n); + for (i = 1; i <= 10; ++i) { + printf("%d * %d = %d \n", n, i, n * i); + } +} \ No newline at end of file diff --git a/MultiplicationTable.exe b/MultiplicationTable.exe new file mode 100644 index 0000000..ffd9d75 Binary files /dev/null and b/MultiplicationTable.exe differ diff --git a/Order Of Programs.md b/Order Of Programs.md index 0bffeea..f25ce69 100644 --- a/Order Of Programs.md +++ b/Order Of Programs.md @@ -21,4 +21,5 @@ |19 | Admission.c | Admission.exe | to find the eligibility of admission for a professional course based on the following criteria (Mentioned in file of the program) | |20 | QuadraticEquatic. | QuadraticEquatic.exe | WAP to calculate the root of a Quadratic Equation | |21 | Triangle.c | Triangle.exe | WAP to check whether a triangle can be formed by the given value for the angles | -|22 | Calculator.c | Calculator.exe | Write a menu driven program for calculator | \ No newline at end of file +|22 | Calculator.c | Calculator.exe | Write a menu driven program for calculator | +|23 | MultiplicationTable.c | MultiplicationTable.exe | WAP to print the multiplication table for a given number | \ No newline at end of file