Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- int main(){
- int a,b;
- printf("digite um numero:");
- scanf("%d",&a);
- printf("agora,digite outro numero:");
- scanf("%d",&b);
- if(a>b)
- printf("Ordem crescente --> %d,%d",b,a);
- else
- printf("ordem crescente --> %d,%d",a,b);
- printf("\n\n\n");
- system ("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment