Computer Science, asked by prashantjangid95, 8 months ago

Consider this C Program, C++ Program or Java Program or C# Program. It roads integers from the standard input (until it gets a negative number) and puts them into an array. After that it calls processArray on the array, and then prints the contents of the array on standard output.
Currently, procesSArray does not modify the array. You have to change this program so that any number in the array is replaced by -1 if it divisible by 7, with -2 if it is greater than 100, and with -3 if it is divisible by 7 and greater than 100. To do this, you have to put your code inside processArray Do not change anything else in the program.
For example, if these numbers were provided on the standard input.
77
50
101
707 -1
Then the program should print:
-1
50
-2
-3

Answers

Answered by jahnavitheangel58
0

Answer:

iwbdibsjd is is xow on last job Ci on ciao cjo owvkc

Explanation:

9nx is ix working xj wkc kW kc dignifie is keen oxkw do eix I xo wish I'd ek die I'd down jcjw kx with some o end di rj or iwo f I'd ej g I'd find ic and xk c wide kxk wmi ej different v I wicjdovjfugwmdovd cd coa

Similar questions