C   88
boolean
Guest on 11th February 2023 01:19:08 PM


  1. #include <stdio.h>
  2. #include <stdbool.h>
  3.  
  4. int main() {
  5.     bool isbool = true;
  6.  
  7.     int age = 28;
  8.  
  9.     isbool = (age > 30);
  10.  
  11.     printf("%d", isbool);
  12.     return 0;
  13. }

Raw Paste

Login or Register to edit or fork this paste. It's free.