Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING MATLAB PLEASE AND STICK WITH THE REQUIREMENTS NEED AS FAST AS YOU CAN Write a program that takes 6 numbers from the keyboard, count

USING MATLAB PLEASE AND STICK WITH THE REQUIREMENTS
NEED AS FAST AS YOU CAN
image text in transcribed
image text in transcribed
Write a program that takes 6 numbers from the keyboard, count the odd numbers, sum the odd numbers, count the even numbers and find their average. Please enter a number: 3 Please enter a number: 6 Please enter a number: 1 Please enter a number: 9 Please enter a number: 2 Please enter a number: 10 The number of the entered odd numbers is : 3 The number of the entered even numbers is : 3 The sum of odd numbers is: 13 The sum of even numbers is : 18 The average of odd number is :4.33 SmartArt Box Write a MATLAB program that reads an integer N, and return squared up to the inputted number using a while loop. Please enter a number N: 8 The squared numbers output is: 1^2= 1 12^2=4 3^2= 9 4^2= 16 5^2= 25 6^2= 36 7^2=49 8^2= 64

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago