Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.34 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     /*
  6.         Целочисленные Integer 3425, 576, 0, -18
  7.         Вещественные  Real 3.14, 2.456546 Floating point
  8.         Символьные
  9.         Логический true/false
  10.     */
  11.     //_Bool a;
  12.  
  13.     int a = 43;
  14.  
  15.     printf("sum of digits in %d = %d\n", a, a /10 + a % 10);
  16.    
  17.    
  18.     getchar();
  19.     return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement