#include<iostream.h> #include<conio.h> void main() { clrscr(); int s,n; cout<<"\nthe sunny nos. from 1 to 100 are"; for(n=1;n<=100;n++) { s=n%10; if(n==s*s*s) cout<<n<<"\t"; } getch(); }