How can I write a brainfuck program that does arithmetic operations and prints the result on the console?
How do I write a program in Java to add two numbers, return the result of sum and then add the result with another number and print the output?