#include<stdio.h>
int main(){
int i, req = 0;
int R[] = { 10.00, 20.00, 30.00, 40.00, 50.00 };
int *Ptr;
Ptr = R;
for (i = 0; i < 5; i++){
printf("R[%d]=%d\n", i, R[i]);
req += R[i];
}
printf(" The value of req is: %d ", &req);
getchar();
getchar();
return 0;
}