Computer Science, asked by VishalSN, 11 months ago

Write a program to accept a two-digit number. Add the sum of its digits to the product of its digits. If the value is equal to the number input, output the message “Special 2-digit number” otherwise, output the message “Not a Special 2-digit number”.


Anonymous: which programing language
Anonymous: java or something else
VishalSN: java
Madhu123mri: For loop daala hai
Madhu123mri: taaki 2 digit ka hee ho
VishalSN: ok
VishalSN: thaanks yaar
Madhu123mri: No problem bhai

Answers

Answered by Anonymous
54
hey mate

here is your answer

see the attachment for your answer

#be brainly
Attachments:

VishalSN: Thank you so much bhai!!!
Anonymous: welcome bhai
Anonymous: i have done it in easiest way possible
Answered by Madhu123mri
28
Here is your answer.

HOPE THIS HELPS! ^_^
Attachments:

VishalSN: thank you
Similar questions