#include<stdio.h>
void main()
{
int n,m,a,r=0;
printf("Enter the number : ");
scanf("%d",&n);
m=n;
while(n>0)
{
a=n%10;
n=n/10;
r=r*10+a;
}
if(m==r)
printf("%d is palindrome \n",m);
else
printf("%d is not palindrome \n",m);
}
Tech Programming Ideas is one of the best places on the programming for programmers. Learn coding with Tech Programming Ideas tutorials. We are covered android programming, php, yii2 framework, javascript, mysql, vb.net etc.
WebView webView = (WebView)findViewById(R.id.webView);
webView.setWebViewClient(new WebViewClient());
webView.loadUrl("http://yii2ideas.blogspot.com/p/blog-page.html");
xml code
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="match_parent">
</WebView>
<uses-permission android:name="android.permission.INTERNET" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<ImageView
android:id="@+id/ivPhoto"
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:padding="5dp"
android:layout_gravity="center"
android:src="@drawable/photo"
/>
</LinearLayout>