DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
Generate a random number C++
int
i
=
rand
(
)
%
10
;
cout
<<
"Random number::"
<<
i
<<
endl
;
Output
::
Random number
::
6
Source by www.codespeedy.com #
PREVIOUS
NEXT
Tagged:
#Generate
#random
#number
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit