Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ Battery Low

	int a,n,b[n];
	cin>>n;
	for(int i=0;i<n;i++){
	    cin>>b[i];
	}
	for(int i=0;i<n;++i){
	    if(b[i]<=15)
	        cout<<"Yes"<<endl;
	    else 
	        cout<<"No"<<endl;
	}
 
PREVIOUS NEXT
Tagged: #Battery #Low
ADD COMMENT
Topic
Name
3+5 =