Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main(){
- int a[10],b[10],c[20],x;
- for(x=0;x<=9;x++){
- printf("Informe o numero:");scanf("%d",&a[x]);
- }
- for(x=0;x<=9;x++){
- b[x]=sqrt(a[x]);
- }
- for(x=0;x<=9;x++){
- c[x]=a[x];
- c[x+10]=b[x];
- }
- for(x=0;x<=19;x++){
- printf("Elemento:%d\n",c[x]);
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement