Write a program to calculate the following output
Input:[8,9,2,5,6,4] output:[1,7,3,1,2]
Write a program to calculate the following output
Input:[8,9,2,5,6,4] output:[1,7,3,1,2]
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Amit MohantyRank #112 · 20K reputationPosted Jul 18, 2022, 1:28 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Jul 18, 2022, 12:13 AM EDT
gowtham v46 reputationPosted Jul 18, 2022, 1:18 AM EDT
pls send output ,and explaination ..