Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~447 People Reached
Favorite Forums
Favorite Tags
c x 5
c++ x 2

4 Posted Topics

Member Avatar for awi123

Hi i just wanted to ask whether we cud use #include<string> and declare a data type called 'string' eg. string ch;? and where is "using namespace std" used?

Member Avatar for Ancient Dragon
0
89
Member Avatar for sambafriends

1.#include<stdio.h> 2.main( ) 3. 4.{ 5. 6. int i=10,j=20; 7. printf("%d %d",i,j); 8. return 0; 9. 10.} u just need to modify the printf statement & is always used in scanf

Member Avatar for awi123
0
116
Member Avatar for awi123

program to display 10 multiples of a number [code=c] #include<stdio.h> main() { int m,n,o; m=5; for(n=0;n<11;n=n+1) o=m*n; printf("Multiples are %d",o); }[/code]

Member Avatar for Aia
0
116
Member Avatar for awi123

the program asks to calculate the power of a number, for eg. if 2 is entered as the base and 3 is th power it should display 8.

Member Avatar for lich
0
124

The End.