Balusu Reshma’s Post

#day3 Hi, all Here is the Challenge from Coding World Cup.The objective is to calculate the sum of an array 'y'. Here y is created using following rules below: 1. If the performance value 'x[i]' is divisible by '3', 'y[i]' is set to 'x[i]'. 2. If 'x[i]' is not divisible by '3', 'y[i]' is the square of 'x[i]'. Here is my approach #codingworldcup, #CodingNinjas, #LogitechMXseries #coding #challenges

  • No alternative text description for this image

To view or add a comment, sign in

Explore topics