Skip to content

Instantly share code, notes, and snippets.

@hasayvaz
hasayvaz / switch-case
Created May 18, 2012 00:20 — forked from raziyeaydin/switch_case.c
programlama
#include<stdio.h>
int main(void)
{
float ok_2;;
int ok_1, ok_3, ok_4, sayi = 2413;
ok_1 = sayi/1000;
ok_2 = (int)(sayi/100) % 10;
ok_3 = (sayi/10)%10;
ok_4 = (sayi%10);