Chat with our AI personalities
read num1 read num2 sum = num1 num2 print highest value
build an array of vowels then do a foreach on the array and then explode the string on the array value and the answer is -1 of the result
'0' Try this: public static void main(String[] args){ } The output would be 0 even though you did not initialize any value in the int array.
It cannot be part of the array.
To check if a value is already in an array you will need to use the in_array function like shown below! <?php $values = array("pizza","hello","cheese","fred"); $newvalue = "hello"; if (in_array($newvalue, $values)) { echo "$newvalue is already in the array!"; } ?>