Write a method called alldigitsodds that returns whether


Program: Write a method called AllDigitsOdds that returns whether every digit of a positive integer is odd.

Return true if the numbers consist entirely of odd digits (1,3,5,7,9) and fals if any of its digits are evne (0,2,4,6,8).

For extample , the call allDigitsodd (135319) returns true but allDigitsodd (9145293) returns false.

Prepare a method that returns the digit or integers. Can you please help me? I don't know what to do.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a method called alldigitsodds that returns whether
Reference No:- TGS0958370

Expected delivery within 24 Hours