[ create a new paste ] login | about

Link: http://codepad.org/fDtavLm7    [ raw code | fork ]

C, pasted on Dec 11:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>

int main(void)
    {
    int x=0, s=0;

    printf("X : ");
    scanf("%d", &x);

    while(x >= 3)
	{
    x -= 3;
    s++;
	}

    printf("商 : %d\n", s);
    printf("γ‚γΎγ‚Š : %d", x);

    return 0;
    }


Create a new paste based on this one


Comments: