Sunday, December 18, 2022

ADDITION ,SUBTRACTION ,MULTIPLICATION, DIVISION [ PART 1]

 


public class Main {
public Main() {


}

public static void main(String[] args) {
System.
out.println("HI I LOVE YOU, MY JAVA");
👉 int a = 100, b = 600;
System.out.println(" addition " + (a + b));

System.out.println("multiplication " + (a * b));

System.out.println("division " + (b / a));

👉 System.out.println (40+20+70+10+130) ;
             System.out.println(40-20);
             System.out.println(40/20);

System.out.println(40*20*20*10);

System.out.println(20+40-70);

}}

No comments:

Post a Comment

25 New Technology Trends for 2025

Technology today is evolving at a rapid pace, enabling faster change and progress, causing an acceleration of the rate of change. However, i...