PLEASE USE MATLAB

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

PLEASE USE MATLAB

Post by answerhappygod »

PLEASE USE MATLAB
Please Use Matlab 1
Please Use Matlab 1 (34.77 KiB) Viewed 9 times
Create a program that will accept a number that will be the basis of the number of times a user can input different numeric values. The user will then input numbers based on the initial input. Identify the sum/total of all numbers but segregating the total for ODD and EVEN. Display the sum of both ODD and EVEN. Sample output: Please enter the count of input: 5 Please input No.1:3 Please input No.2:2 Please input No.3: 10 Please input No.4:7 Please input No.5 : 1 The total no of ODD is 3 and the sum is 11. The total no of EVEN is 2 and the sum is 12.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply