Computer Science, asked by mohammed100, 10 months ago

Write a program to perform the following task by using mathematics functions :-

I)Store a number -105 and convert it to positive number and print. ​

Answers

Answered by neelgreevG
10

Answer:

class number

{

static void main()

{

int a = -105;

int b= Math.abs(a);

System.out.println(b);

}

}

PLEASE MARK AS BRAINLIEST IF HELPED

Answered by dhandhkrishna192
1

Answer:

class number

{

static void main()

{

int a = -105;

int b= Math.abs(a);

System.out.println(b);

}

}

PLEASE MARK AS BRAINLIEST IF HELPED

Explanation:

Similar questions