Java

Java

PythonF

Multiply by 2

The program must accept a number and multiply it by 2. Example Input/Output 1:Input:10 Output:20 Example Input/Output 2:Input:50 Output:100…
PythonF

Print Cube

The program must accept a number and print it’s cube. Example Input/Output 1:Input:5 Output:125 Example Input/Output 2:Input:3 Output:27…
PythonF

Peak Elements Count

Peak Elements Count: N integers are passed as input. The program must print the count of peak elements among the N integers. An element is a…