Java Program to Find Sum of N Numbers using Recursion

This is a Java Program to Find Sum of N Numbers using Recursion. Enter the number of elements you want and then enter all the required elements as an input. Now we pass all the elements along with the length of array and a zero to new function where we find sum of all the … Read more

advertisement

Java Program to Convert Binary Code of a Number into its Equivalent Gray’s Code Without Using Recursion

This is a Java Program to Convert Binary Code of a Number into its Equivalent Gray’s Code Without Using Recursion. Gray code is a binary numeral system where two successive values differ in only one bit. Enter any binary number as an input. After that we perform operations like modulo and divsion to convert it … Read more

advertisement

Java Program to Convert Integer Values into Binary

This is a Java Program to Convert Integer Values into Binary. Enter any decimal number as an input. After that we operatons like modulo and division to convert the gven input into binary number. Here is the source code of the Java Program to Convert Integer Values into Binary. The Java program is successfully compiled … Read more

advertisement

Java Program to Multiply given Number by 4 using Bitwise Operators

This is a Java Program to Multiply given Number by 4 using Bitwise Operators. Enter the number you wish to multiply as input. After that we use left shift by 2 to multiply given input by four and hence get the output. Here is the source code of the Java Program to Multiply given Number … Read more

advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Youtube | Instagram | Facebook | Twitter