c nested-if statement

https://‮www‬.lautturi.com
c nested-if statement
/*
// C program to illustrate nested-if statement
*/

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <stdbool.h>
#include <errno.h>
#include <unistd.h>

int main() {
    int i = 25;

    if (i == 10)
        printf("i is 10");
    else if (i == 15)
        printf("i is 15");
    else if (i == 20)
        printf("i is 20");
    else
        printf("i is not present");
}
Created Time:2017-08-28 15:56:14  Author:lautturi