Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- /*
- Целочисленные Integer 3425, 576, 0, -18
- Вещественные Real 3.14, 2.456546 Floating point
- Символьные
- Логический true/false
- */
- //_Bool a;
- int a = 43;
- printf("sum of digits in %d = %d\n", a, a /10 + a % 10);
- getchar();
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement