#include <stdio.h>
#include <locale.h>
int main0304(){
setlocale(LC_ALL,"Turkish");
// Tan�m
const int n=10;
double a[]={1,2,3,4,5,6,7,8,9,0};
// Getir-G�t�r
double temp;
int i;
for(i=0;i<n/2;i++){
temp=a[i];
a[i]=a[n-i-1];
a[n-i-1]=temp;
}
// Bas
for(i=0;i<n;i++){
printf("%2d. %9.2lf \r\n",(i+1),a[i]);
}
return 0;
}
Dosyayı İndir