HOMEWORK 1 1 Design a program that checks that randomly generated 20 numbers can be divided by 5. Let the generated numbers show in an array and write zero instead of non-divisible numbers. 2Create an...

What is the price of that Labview homework


HOMEWORK 1 1 Design a program that checks that randomly generated 20 numbers can be divided by 5. Let the generated numbers show in an array and write zero instead of non-divisible numbers. 2Create an array of random numbers greater than 50 that the user determines the size of the array and is controlled by the button. 3User enters two integer numbers called as x and y. Design the calculator program that makes 4 operations (add-subtraction-multiplication-division) for 2 numbers entered using case structures. In the implementation use combo box for case selection and please show all your work. 4Design a program that finds the roots of a quadratic equation such as ax2 + bx + c = 0. The calculator solution should show work using the quadratic formula to solve the entered equation for real and complex roots. 5 User enters two different arrays called as Arr1 and Arr2, size of the arrays is changeable and it depends on user. Also, user has four different cases called as A, B, C, D and user chooses which case is implemented in the program. 1. If case “A” is entered by user then • ?????? ???=(???1−1)− Π (???2) 1. If case “B” is entered by user then • ?????? ??? =???1−???2 1. If case “C” is entered by user then • ?????? ??? =( ???1+1 ) ? ???2 1. If case “D” is entered by user then • ?????? ??? =√???1+ Σ (???2) Output Arr should be displayed in array with vertical pointer as indicated in below. Note 1: In the program you should use “Case Structure”. 6Design the program that allows the led to light up according to the numbers entered. The user is asked to enter two integers. If x> y 1. Led On and the color should be white if x = y 2. Led on and the color must be red if x
Jun 25, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here