₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,211 members, 8,510,673 topics. Date: Friday, 30 October 2026 at 07:44 PM

Toggle theme

Get Your Programming Problems Solved - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Get Your Programming Problems Solved (986 Views)

1 Reply

Get Your Programming Problems Solved by Nobody: 10:41am On Jul 19, 2016
Lazy Programmer's joint

# p1 Java program:

/**

* @program: DISSARIUM

* @description: To check whether a number is a Dissarium no or not.

* @author: Emmypong

* @email: emmypongaim@gmail.com

*/
public class DISSARIUM

{
public void input(int n)

{
int num=n,sum=0,d,c=0;

while(num>0)

{
c++;

num = num/10;

}
num = n;

while(num>0)

{

d = num%10;

sum = sum + (int) Math.pow(d,c);

num = num/10;

System.out.println(c);

--c;

}
if(sum==n)

{

System.out.println(n+" is DISSARIUM"wink;
u
}
else
{
System.out.println(n+" is not DISSARIUM"wink;

}

}
}

get these type of short codes and alse request your choice code at ::

https://free.facebook.com/dbasement.tk/
1 Reply

Top Dev's Share Your Programming Journey • Larisoft Clean Desktop: (re: Operation Prove Your Programming Skills) • Operation Prove Your Programming Skills • 2 • 3 • 4

Pls Help...html Links • . • How Do Intall Windows10 Installer Copied From Disk