Computer Science, asked by jagrutidadlani08, 7 months ago

I or century
Consider this C Program, Java Program, Python Program. It reads integers from the standard in
(until it gets a negative number) and puts them into an array/list. 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 the last digit is 7, with -2 if it is greater than 100, and with the
last digit is 7 and greater than 100. To do this, you have to put your code inside processárray Dono
change anything else in the program.
For example, if these numbers were provided on the standard input:
77
50
101
707
-1​

Answers

Answered by ritanshigupta10
0

Answer:

This question is not framed properly

Similar questions