DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
product of array in cpp
int a[5] = {2,3,4,5,6}; int product = 1; for(int i=0;i<5;i++) { product *= a[i]; } cout<<product;
PREVIOUS
NEXT
Tagged:
#product
#array
#cpp
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit