draw a flowcart to show the use of relational operator...its urgent plz answerrrr
neanumha:
my name is neha
Answers
Answered by
1
Hi
In lay man's term relaitional operators are those operators which are used to compare to values.
for example: 10 >= 5
in that line we were comparing if 10 is greater or equals to 5.
now i am gonna show you flow chart of very basic program using above example.
if (10 >=5 ) {
document.write("10 is greater than 5");
} else {
document.write("10 is NOT greater than 5");
}
in abhove code we are checking if 10 is greater than 5, if it is then we will print "10 is greater than 5" and if it is not then we will print "10 is NOT greater than 5".
I have attached flow chart in attachment.. please check.
Attachments:
Similar questions