No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I want help in reversing a string without using another array. a string "Hello" should be printed as "olleh" Please help. |
|
How can i print the lower and upper triangles of matrix Please guide me in writing the code. i don't know even how to start writing the code. Please help. |
|
the below code is to allow user to enter many strings of characters until he enters a fullstop (.) Please tell me how can i calculate the total number of strings the user has entered. #include <iostream> void main() { char a[80]; int i,c=0; for(i=0;;i++) { cin>>a[i]; if(a[i]=='.') break; } … |
|
i want to know what are the lower triangle and upper triangle mean in a matrix. For eg: if matrix is [ 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ] then what will the lower triangle and upper triangle in this … |
|
i have to write a program to find sum of the sequence using loops the sequence is [B]x-x^2/2!+x^3/3!-x^4/4!+.....[/B] |
|
could anybody tell me how to sum the sequence given using loops instead of using any other function of c++? 1 + 1/1! + 1/2! + 1/3! + .....1/n! |