Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include<stdio.h>
- int main()
- {
- char names[][12] = { "January", "February", "March", "April", "May", "June", "July", "August",
- "September", "October", "November","December" };
- char str[10];
- scanf("%s\n", str);
- int temp = 0;
- int i = 0;
- int count = 0;
- while (str[i] != 0)
- {
- if (str[i] != '.')
- {
- temp = atoi(str);
- }
- else printf(" ");
- ++i;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement