Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Max contiguous subarray




Input



[2,-4 ,5 ,-1,2,-3]





Mean Median and Mode



Input



245678245238

Shift numbers -2




Input



1good23morning456

Sum of prime numbers in the input



Input


2 4 5 6 7 3 8

Sum of prime numbers from m to n




Input


5 11

Index of last occurrence




Input




245678245238



2

Right angle triangle



Input


5

Greatest among four numbers




Input



5



3



7



2

A number is said to be evenly divisible by 9 if it is divisible by 9 and at the same time it is even. For example 18 is evenly divisible by 9 but 27 is not. A program is required that accepts an integer and checks whether it is evenly divisible by 9 or not and then prints an appropriate message.



The value of y is calculated as follows:-


y = 4x3 + 2x 6 when x > 5


y = 3x2 4y + 12 when x < 5


y = 6x 5 when x = 5


Write a program that accepts the value x and then computes the value of y.

LATEST TUTORIALS
APPROVED BY CLIENTS