ASSALAAM O ALAIKUM TO ALL OF YOU
suppose hamary pas koi integer number hai to ham ne even odd check karna hai mager tens position per
e.g 56 ho to wo number 5 hoga
yani sirf left waaly number ko check kren ge !!!! is it possible if yes then how?
ASSALAAM O ALAIKUM TO ALL OF YOU
suppose hamary pas koi integer number hai to ham ne even odd check karna hai mager tens position per
e.g 56 ho to wo number 5 hoga
yani sirf left waaly number ko check kren ge !!!! is it possible if yes then how?
.........]>FIRE<[........
any here???
......FIRE
kiya matlab? sawal detail ma btoe...samj nahi ai sahi se...
# include <conio.h>
#include<iostream.h>
int main()
{
int a,b;
cout<<"Enter The Number in double Figure:" ;
cin>>a;
if (a>=10)
{
b=a/10;
if (b % 2==0)
cout<<b<<" is even";
else
cout<<b<<" is odd";
}
else
cout<<"Number is not in double figure";
getch();
}
ab masla ye hai k first 10 numbers ka factorial display krwana hai zooma G plz help
..............FIRE
AAP PANEY SAWAL KI TORI DETAIL DEY ISS TERHA JO CODE AAP KO DIYA GAYA HAI WOH 10 NUMBER SAY UPPER KE EVEN ODDS KO SHOW KARTA HAI OR DOUBLE FIGURE ENTER MANGTA HAI
AAP YEH LINK CHECK KAREY
ایک طرف لمبی لمبی امیدیں
دوسری طرف کل نفس ذائقۃ الموت
# include <conio.h>
#include<iostream.h>
int main()
{
int a,b;
cout<<"Enter The Number:" ;
cin>>a;
if (a>=10)
{
b=a/10;
if (b % 2==0)
cout<<b<<" is even";
else
cout<<b<<" is odd";
}
else
{
if (a % 2==0)
cout<<a<<" is even";
else
cout<<a<<" is odd";
}
getch();
}
# include <conio.h>
#include<iostream.h>
int main()
{
int a,b;
cout<<"Enter The Number:" ;
cin>>a;
if (a>=10)
{
b=a/10;
if (b % 2==0)
cout<<b<<" is even";
else
cout<<b<<" is odd";
}
else
{
if (a % 2==0)
cout<<a<<" is even";
else
cout<<a<<" is odd";
}
getch();
}
تھریڈ کو ایجوکیشنل ہیلپ زون منتقل کیا گیا
Bhai jan mera masla hall ho gya he now you can close this thread if you want
.....................fire
Bookmarks