Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #define N 5
- int main(){
- int a[N];
- int i;
- for(i=0;i<N;i++)
- {
- scanf ("%d",&a[i]);
- }
- for (i=0;i<N;i++)
- {
- a[i]= a[i]+1;
- printf("%d",a[i]);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement