Wednesday, September 8, 2021

PERSONS AGE CHECKER IN C

A simple program to check the age of the person whether the person is already an adult or still a minor using C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.




 

Program Listing

/* Persons Age Checker in C */

/* Author  : Mr. Jake R. Pomperada, MAED-IT   */

/* Date    : March 1, 2017  Wednesday         */

/* Tools   : CodeBlocks 16.1                  */

/* Country : Philippines                      */



#include <stdio.h>


int age = 0;


int main()

{

    printf("\n\n");

    printf("\t===== PERSONS AGE CHECKER IN C =====");

    printf("\n\n");

    printf("\tWhat is your age : ");

    scanf("%d",&age);


    if (age >= 18 ) {

        printf("\n\n");

        printf("\tAt the age of %d years old you are already an ADULT.",age);

      }


    else {

        printf("\n\n");

        printf("\tAt the age of %d years old you are still a MINOR.",age);

      }

    printf("\n\n");

    printf("\tEND OF PROGRAM");

    printf("\n\n");

}



No comments:

Post a Comment