Tuesday 6 November 2012

Cursion in C Programming Language

This video is about recursion in C programming language which used to calculate facterial value.

You can also visit this video at youtube.com by click this link below:

http://www.youtube.com/watch?v=cfUtnyaT3wQ&feature=youtu.be

Sunday 4 November 2012

C Structure insert ten student data


This is a source code about a program which can be used to insert student's information. The user can insert ten students only. The information about the students such as Number, nim, name, and value. After user input information about the students already, the program will show ten record of the students.

Source code:


#include <stdio.h>
#include <stdlib.h>

int main(void)
{
    int k;
    struct data
    {
        int number;
        char nim[20];
        char name[20];
        char value;
    };
    struct data st[10];
    printf("Input students' information\n");
    for (k=0;k<10;k++)
    {
        printf("Input Data %d \n",k+1);
        printf("Number : ");
        fflush(stdin);
        scanf("%d", &st[k].number);
        fflush(stdin);
        printf("NIM : ");
        scanf("%s", &st[k].nim);
        fflush(stdin);
        printf("Name : ");
        scanf("%s", &st[k].name);
        fflush(stdin);
        printf("Value : ");
        scanf("%c", &st[k].value);
    }

    for (k=0;k<10;k++)
    {
        printf("\nYour Data %d \n",k);
        printf("Number : %d", st[k].number);
        printf("\nNIM : %s", st[k].nim);
        printf("\nName : %s", st[k].name);
        printf("\nValue : %c", st[k].value);
    }
    system("pause");
    return 0;
}

This is about the video or you can also see it at youtube.com by click this link below: 
http://www.youtube.com/watch?v=EurlFTnlQ0A&feature=youtu.be

http://www.youtube.com/watch?v=EurlFTnlQ0A&feature=youtu.be

Thursday 1 November 2012

Array(define the array's element and average it)


This is a video in C programming language about array. In this video, the element of array need to input from keyboard. After input the number of array, the program will sum the value of each index of array, the average it.

You can visit this video at youtube.com by click this link below:
http://www.youtube.com/watch?v=9KLNvW16WKE&feature=youtu.be

http://www.youtube.com/watch?v=9KLNvW16WKE&feature=youtu.be

Tuesday 30 October 2012

Convert temperature from celcus to farenheit and kekvin in C programming

This is video show you a program to convert the temperature from celcus to farenheit and kelvin. You just input the temperature in celcus, and then the it will convert to farenheit and kelvin.

You can visit it at youtube.com by click the link below:

http://www.youtube.com/watch?v=FVYK9fJbgzQ&feature=youtu.be 


Monday 29 October 2012

Calculate volume of pyramid or volume of square using while with swith

This is a video show you a program to calculate the volume of pyramid or volume of square. This video, you can choose only one to calculate. If you you choose number 1, the program will calculate the volume of pyramid. If you choose number 2, it will calculate the volume of square. After it calculate the volume of pyramid or square already, it will end the program. However, if you input number which is difference from 1 and 2, it will allow you to input again for your choice.

Visit this video in youtube.com
http://www.youtube.com/watch?v=lsJ9wDomkKE&feature=youtu.be


Wednesday 24 October 2012


This is a video about operator in C programming language. It show you how to use operator properly in C programming. In addition, it tell how the operator work in C programming.

In C Programming Language, there are many operator such as Assignment Operators, Arithmetic Operators,  Logical Operators, Bitwise Operators, Assignment Operator, and Misc Operators. However, this article is not mention all bout the operator.

Here is the video about operator in C Programming, or you can visit this video at youtube.com by click the link below:
 http://www.youtube.com/watch?v=XJjHBcT_fK0&feature=youtu.be