Search found 1 match

by ccu496410022
Thu Nov 01, 2007 12:36 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 19313

can someone help me pla >.<

#include <stdio.h> #include <stdlib.h> #include<string.h> int counter=0; void readd(char a[100]){ char b[100]={0}; int len,i,counter1=0; len=strlen(a)-1; counter++; for(i=0;i<=len;i++){ b[i]=a[i]; } for(i=0;i<=100;i++) a[i]=48; for(i=0;i<=len;i++) { if(b[i]+b[len-i]+a[i]-144>=10){ a[i+1]=a[i+1]+1; ...

Go to advanced search