SCHOOL OF CODE BUILDERS
Learn To CODE. Become A DEVELOPER.
Pages
HOME
DATA STRUCTURES
STRINGS
ARRAYS
MATRIX
BINARY TREES
LINKED LIST
STACK
QUEUE
SORTING
SEARCHING
C
PYTHON
PSEUDOCODE
CONTEST PROBLEMS
ALGORITHMS
PATTERNS
PHP
C PUZZLES
C INTERVIEW QUESTIONS
JAVA
C++
HASHING
RECURSION
BASIC C PROGRAMS
TCS-CODEVITA
FACEBOOK
CONTACT US
How to Generate Multiplication Table of a number
Write a function which generates a multiplication table for a given table number "table" and till a range "range"
Implementation:
#include
int main() { int table,i,range; printf("To print multiplication table of ??\n"); scanf("%d",&table); printf("Range till ??\n"); scanf("%d",&range); for(i=1;i
Output:
To print multiplication table of ??
5
Range till ??
10
1*5=5
2*5=10
3*5=15
4*5=20
5*5=25
6*5=30
7*5=35
8*5=40
9*5=45
10*5=50
PREVIOUS
NEXT
HOME