C Programming Tutorial - If statement with multiple conditions on May 15, 2018 Get link Facebook X Pinterest Email Other Apps #include <stdio.h> int main() { int hoursStudied = 60; //10 or more int kidsBeatUp= 0; //0 kidsBeatUp if((hoursStudied>=10) && (kidsBeatUp==0)){ printf("You are a good student"); } return 0; } Check my video for explanation in my youtube channel. Comments
Comments
Post a Comment