in processing(java based language) : void setup(){ println(AddAllEven(array)); } int AddAllEven(int[] array){ int number; for(int index = 0; index < array.length; index++){ if(IsEven(array[index]){ number += array[index]; } } return number; } boolean IsEven(int number){ if(number%2 == 0){ return true; } else{ return false; } }
@alexteplyhКүн бұрын
One liner using Array.reduce()
@myduruavinash15802 күн бұрын
Well done ✅
@informer926122 күн бұрын
make an video of ngrx signal store
@nehruclasses930320 күн бұрын
I also planning so . soon you can expect
@theintjengineer27 күн бұрын
In the installation page, scroll down to the part where it says how you should modify your `angular.json` to point to the PrimeNG CSS files. This shows you didn't do your homework before recording the video. You didn't even look at the docs first, which isn't very nice. Just constructive feedback.
@nehruclasses930324 күн бұрын
I am really happy to welcome you feedback. I was about to tell that. However, on the flow, I skipped the part. please add the below code in angular.json "styles": [ "node_modules/primeng/resources/themes/lara-light-blue/theme.css", "node_modules/primeng/resources/primeng.min.css", ... ]