islower function to output boolean value of 0 or 1 depending on input
<p>I tried the following but am not getting 0 or 1. The question is how do I make this program print out a boolean value of 0 or 1 without using conditional statement in C++.</p>

<pre><code>char input;
char output;
cout &lt;&lt; "Input A Character: \n";
cin &gt;&gt; input;
input = islower(input);
cout &lt;&lt; input;    
</code></pre>
