Question: SmartArt ku.ac.ae Khalifa University Write a program that takes 7 numbers from the keyboard, count the positive numbers, sum the positive numbers, count the negative


SmartArt ku.ac.ae Khalifa University Write a program that takes 7 numbers from the keyboard, count the positive numbers, sum the positive numbers, count the negative numbers and find their average. Please enter a number:6 Please enter a number:-9 Please enter a number:3 Please enter a number:5 Please enter a number:-2 Please enter a number:-1 Please enter a number:7 The number of the entered positive numbers is 4 The number of the entered negative numbers is 3 The sum of positive numbers are 21 The average of negative number is -4 2/21/21 LA33 Notes Comments 10 DI li Picture Shapes 1011 TIN > T l v [], Convert to Te Ba SmartArt ku.ac.ao WWW Khalifa University Write a MATLAB program that reads an integer N and power n. Then Calculate N using a while loop. Assume N and n are positive integers. Please enter a number N: 5 Please enter a power n: 3 The output is : 5 raised to the power of 3 = 125 22 LAB Notes Comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
