Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int n;
- printf("Dati numarul :");
- scanf("%d",&n);
- printf("Cifrele numarului sunt:\n");
- while(n){
- int x=n%10;
- printf("%d ",x);
- n=n/10;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement