move to repo.or.cz
[letusc.git] / ch1 / exercises / ex13.c
blob82bf0f517c13e8d9c7d07e3b481a66c6e27be014
1 /*add 1 to each digit*/
3 #include<stdio.h>
5 int main()
7 long num;
8 long num2;
9 printf("enter num: ");
10 scanf("%ld",&num);
12 num2 = num + 11111;
13 printf("Num2: %ld\n",num2);
14 return 0;