DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
if statement in c++
int
time
=
20
;
string result
=
(
time
<
18
)
?
"Good day."
:
"Good evening."
;
cout
<<
result
;
Source by www.tutorialspoint.com #
PREVIOUS
NEXT
Tagged:
#statement
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit