C AND logical operator &&

preview_player
Показать описание
C && AND logical operator tutorial example explained

#C #AND #&&
Рекомендации по теме
Комментарии
Автор

#include <stdio.h>
#include <stdbool.h>

int main(){

// logical operators = && (AND) checks if two or more conditions are true

float temp = 25;
bool sunny = true;

if(temp >= 0 && temp <= 30 && sunny){
printf("\nThe weather is good!");
}
else{
printf("\nThe weather is bad!");
}

return 0;
}

BroCodez
Автор

Thank you.
I"m learning the basics of the basics now and this whole programming content is fascinating.
I know it's not easy, but it's interesting too.

apertaplays
Автор

I hope that you will explain pointers very well and slow because pointer are the worst and most difficult part of C. But you are Bro anyway so I'm sure that you will explain that perfectly.

provokator-provocateur
Автор

Mr. Bro . I need your help in this
What format specifier I must use in scanf to input the boolean value of 1 byte from the user and then manipulate it afterwards in my program?

abusufiansarker
Автор

Man you’re like wiki! love your videos

mohamedshinaishin
Автор

Nice Excplanation. Also i want to becoime a fellow bro 😄😄😄

siddharthjain