Write a Java program that works as a simple calculator. Use a grid layout to arrange buttons for the digits and for the +, -,*, % operations. Add a text field to display the result.
//Program for implementing a Simple Calculator import java.awt.*; import java.awt.event.*; import java.applet.*; /*<applet code=”Calculator1″ width=300 height=300></applet>*/ public class Calculator1 extends Applet implements ActionListener { TextField t; Button b[]=new Button[15]; Button b1[]=new Button[6]; String op2[]={“+”,”-“,”*”,”%”,”=”,”C”}; String…
Binary Cipher