Skip to content
Snippets Groups Projects
Commit e91e0c3b authored by Mohamed Yasar arafath K M's avatar Mohamed Yasar arafath K M :speech_balloon:
Browse files

initial commit

parent c237487d
No related branches found
No related tags found
No related merge requests found
#include<std
\ No newline at end of file
#include<stdio.h>
int main(){
int i;
printf("Enter a number :");
scanf("%d",&i);
while(i>0){
digit = i%10;
printf("Last digit of the %d is : %d",i,digit);
i = i/10;
}
printf("Done");
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment