C++ assignment for the gurus only . Solve this if u can .
i need some nice guru to solve this soon. am aving problem with my VB ,
#include<stdio.h>
main()
äint a,b;
a=5;
b=2;
printf("%d",a*b);
printf("%d",a+b);
printf("%d",-b);
printf("%d",a/b);
printf("%d",a-b);
printf("%d",a%b);
return 0;
ñ
. i cant compile it,
am getting error message.
i need the answer. pls
Re: C++ assignment for the gurus only . Solve this if u can .
Try
Code:
int main()
{
int a=5, b=2;
printf("%d\n",a*b);
printf("%d\n",a+b);
printf("%d\n",-b);
printf("%d\n",a/b);
printf("%d\n",a-b);
printf("%d\n",a%b);
return 0;
}
8)
Re: C++ assignment for the gurus only . Solve this if u can .
Pls I need the solution . I can't even download a compiler now , av a poor internet connection , pls some should solve THIS for me .
Re: C++ assignment for the gurus only . Solve this if u can .
Quote:
Originally Posted by
zoba
Pls I need the solution . I can't even download a compiler now , av a poor internet connection , pls some should solve THIS for me .
Which is it? You're getting error messages or you don't have a compiler?
Re: C++ assignment for the gurus only . Solve this if u can .
Quote:
am aving problem with my VB
Besides that should be C/C++ not VB, I think you have equal problems with your keyboard. ;)
Re: C++ assignment for the gurus only . Solve this if u can .
Quote:
Which is it? You're getting error messages or you don't have a compiler?
Error : Compiler not found. ;)
Re: C++ assignment for the gurus only . Solve this if u can .
hi,
There are some special characters in the program because of which it is not compiling.Anyways,answer for your question would be as following...
10
7
-2
2
3
1
Thanks
Re: C++ assignment for the gurus only . Solve this if u can .
Re: C++ assignment for the gurus only . Solve this if u can .
Quote:
Originally Posted by
Skizmo
Error : Compiler not found. ;)
lol, good one....
Re: C++ assignment for the gurus only . Solve this if u can .
Quote:
Originally Posted by
rag84dec
hi,
There are some special characters in the program because of which it is not compiling.Anyways,answer for your question would be as following...
Perhaps you didn't notice the rest of us deliberately not doing this guy's homework for him.
Re: C++ assignment for the gurus only . Solve this if u can .
Come on, all you Gurus out there, the challenge is on, I was going to try to help, but he wants Gurus only for such a complicated problem, and I aint a guru..... yet.