I need help for an assignment due tom! I did 7 all i need to do is these three more but im too tired HAHA.
1. Write a program that determines the combinations of x, y, and z with each value ranging from -500to +500 that would make the following expression true: 2x – 3y >= 5z
2. Write a program that will take in a non-negative integer. If the non-negative integer is a primenumber, ask for another number n. Then, generate the next n prime numbers after the given primenumber. If the number is not prime, just indicate “Not Prime”. For example, if input non-negativenumber is 7 and n is 4, then the program should display: 11 13 17 19
3. Write a program that will display the following pattern given n, where n represents the number oflines and the width of the pattern to be generated. Assume that n will be a positive odd integer thatwill at least be 3. Your program should follow the skeleton below: