Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int i,k,1;
- int max=0;
- print("number of input:\n");
- scanf("%d",&k);
- for(i=1;i<=k;i++)
- {
- printf("Enter valu %d:\n",i);
- scanf("%d",&1);
- if(i==0)max=1;
- if(1>max)
- {
- max=1;
- }
- }
- printf("max valu=%d",max);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement