Answered step by step
Verified Expert Solution
Question
1 Approved Answer
No find() ifs elses fors or any interation/Conditionals MATLAB No find() ifs elses fors or any interation/Conditionals MATLAB Function: pinkBalloons Input(s): - (MxN double) array
No find() ifs elses fors or any interation/Conditionals MATLAB
No find() ifs elses fors or any interation/Conditionals MATLAB
Function: pinkBalloons Input(s): - (MxN double) array of balloons numbers Output(s): - (double) total number of pink balloons Function Description: - Write a function that takes in an array of balloon bunch quantities. Each number in the array corresponds to a bunch of balloons with the indicated number of individual balloons inside. Balloon bunch quantities that are divisible by 5 or divisible by 7 are known to be pink bunches. Your function should return the total number of pink balloons (not bunches) in the array. balloonQts = 1097351342360887;3;12;; pinkBs = pinkBalloons(balloonQts) % >> pinkBs = 161Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started