Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main()
- {
- char addr[30];
- int n;
- printf("Enter the value of n: ");
- scanf("%d",&n);
- gets(addr);
- if (n%2==0)
- {
- strcpy(addr ,"ce_activities.htm");
- }
- else
- {
- printf("Enter address: ");
- gets(addr);
- }
- printf("URL: aust.edu\civil\%s",&addr);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement