Computer Science, asked by yashthoapte11, 1 year ago

Using while program plz needed urgently tommorow exam
question no 12 plz fast​
using while
java

Attachments:

Answers

Answered by ashblend17
0
class Special

{

public static void main(int input)

{ int store=input;

int temp=store/10, temp2=store%10;

if(((temp+temp2)+(temp*temp2))==input)

{

System.out.println("Special two-digit number");

}

else

{

System.out.print("Not a Special two-digit number");

}

}

}

Hope it helps,

if(help==useful)
{
*Mark as brainliest*
}
else
{
*Doesn't matter, help was useless:-(*
}

yashthoapte11: I said using while
ashblend17: question number 12 doesn't demand that
Similar questions