Facebook
From Yiğit Karakoyun, 3 Months ago, written in C++.
Embed
Download Paste or View Raw
Hits: 51
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(int argc, const char * argv[]) {
  5.    
  6.     printf("Tamsayi Giriniz: ");
  7.     int tamsayi;
  8.     cin >> tamsayi;
  9.    
  10.     cout<<"Tamsayi Rakamlari Yazdiriliyor: "<<ends;
  11.     while (tamsayi > 0){
  12.         int rakam = tamsayi%10;
  13.         cout << rakam <<" "<< ends;
  14.        
  15.         tamsayi = tamsayi/10;
  16.     }
  17.    
  18.     return 0;
  19. }