# data[].attributes.attachment_link.readable_text


#include <iostream>

using namespace std;

int main()
{
	float number1,number2,number3,number4,number5,number6,number7,number8,number9,number10;
	float sum=0,*pointer1,*pointer2,*pointer3,*pointer4,*pointer5,*pointer6,*pointer7,*pointer8,*pointer9,*pointer10;
	
	cout<<"Enter a number= ";
	cin>>number1;
	cout<<"Enter a number= ";
	cin>>number2;
	cout<<"Enter a number= ";
	cin>>number3;
	cout<<"Enter a number= ";
	cin>>number4;
	cout<<"Enter a number= ";
	cin>>number5;
	cout<<"Enter a number= ";
	cin>>number6;
	cout<<"Enter a number= ";
	cin>>number7;
	cout<<"Enter a number= ";
	cin>>number8;
	cout<<"Enter a number= ";
	cin>>number9;
	cout<<"Enter a number= ";
	cin>>number10;
	
	pointer1=&number1;
	pointer2=&number2;
	pointer3=&number3;
	pointer4=&number4;
	pointer5=&number5;
	pointer6=&number6;
	pointer7=&number7;
	pointer8=&number8;
	pointer9=&number9;
	pointer10=&number10;
	sum=*pointer1+*pointer2+*pointer3+*pointer4+*pointer5+*pointer6+*pointer7+*pointer8+*pointer9+*pointer10;
	cout<<"total sum= "<<sum<<endl;
	
	cout << "THANK YOU . . ." <<endl;
	cout << "NURIN ATHIRAH BINTI AZAHAR" <<endl;
	cout << "25DDT17F1010" <<endl;
    cout << "DDT1A" <<endl;
	
	return 0;	
}

# data[].attributes.attachment_link.readable_text
#include <iostream>

using namespace std;

int main ()
{
	int counter=1 ,num;
	float average,total=0;
	do{
		cout <<"PLEASE ENTER YOUR NUMBER :";
		cin >>num;
		total=total+num;
		average=total/5;
		
	if(counter=1 && counter<=5 && counter++)
	{
		cout <<"AVERAGE :"<<average<<endl;
	}
	
	} while(counter>5);
	
	cout<<"THANK YOU ..." <<endl;
	cout<<"NURIN ATHIRAH BINTI AZAHAR" <<endl;   //programmer name
	cout<<"25DDT17F1010" <<endl;                 //programmer id
	cout<<"DDT1A" <<endl;                         //programmer class
	
	return 0;                                      //reserved worD
}
