Computer Science, asked by 8e03adwaithmanu, 3 months ago

W.A.P to input a number and if it is odd number by 10 otherwise multiply the number by 5. Display the result

Answers

Answered by mayureshbelamkar1906
2

Answer:

Answer

Explanation:

class program

{

public static void main(int a)

int b;

int c;

{

if(a •/• == 0)

{ b = a*5;

System.out.prinrln("The answer is " + b);

}

else

{

c = a*10;

System.out.println("The answer is " + c);

}

}

}

plz mark me as the brainliest plz

Answered by ItzMichi
3

hope this was helpful for uh...

keep smiling^-^

Thank uh...!!

Attachments:
Similar questions