body{ background:lightblue; font-family:'Times New Roman', Arial; }
Set the fonts by CSS
You can select your font name by CSS. The code is given below:
c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program
body{ background:lightblue; font-family:'Times New Roman', Arial; }
All rights reserved||Using Deluxe Template By Klodian
1 comments:
#include
#include
#include
#include
#include
#include
using namespace std;
char as[250],bs[250],faltu[100];
string cs,ds,sum;
string rev(string as)
{
string bs;
int flag=0,c=0;
for(int i=as.size()-1;i>=0;i--)
{
if(as[i]=='0')
{
if(flag==0)
{
c++;
}
else break;
}
else break;
}
for(int i=as.size()-1-c;i>=0;i--) bs+=as[i];
return bs;
}
string str_in(int n)
{
int i,j,r=0,x;
string as,bs;
while(n>0)
{
as+=(n%10+'0');
n/=10;
}
for(i=as.size()-1;i>=0;i--) bs+=as[i];
return bs;
}
int main()
{
int l,ll,n,t,i,j,k,carry,x,y,z,m;
cin>>n;
gets(faltu);
for(t=0;t>as>>bs;
k=0;
carry=0;
cs=rev(as);
ds=rev(bs);
l=cs.size();
ll=ds.size();
if(l>=ll) m=l;
else m=ll;
for(i=0,j=0;i9)
{
sum+=str_in(z%10);
carry=1;
}
else
{
sum+=str_in(z%10);
carry=0;
}
}
sum+=str_in(carry);
cout<<sum<<endl;
sum.clear(); cs.clear(); ds.clear();
}
return 0;
}
Post a Comment