Create one string array with values "2","12","22","32","42","72".
If the value in the array is less than 20 then multiply it with 10 and print the result. if the value in the array is greater than 50 then divide it by 12 and print the output.
If the value in the array is less than 20 then multiply it with 10 and print the result. if the value in the array is greater than 50 then divide it by 12 and print the output.
No comments:
Post a Comment