Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
31% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
3
2 Commented Posts
0 Endorsements
Ranked #13.1K
Ranked #4K
~2K People Reached
Interests
programming, blogging,
Favorite Forums
Favorite Tags
Member Avatar for tln26

I am trying to get the numbers in the array to give me a average out put. here is what I have so for: [COLOR=#0000ff][/COLOR] [CODE] #include "stdafx.h" #include <iostream> #include <cctype> using std::cout; using std::cin; using std::endl; int main() { int grade[10]; int count = 0; char reply = …

Member Avatar for hits86
0
375
Member Avatar for Rahul.menon

how to print the below triangle without using arrays a a b a e i a b c d a e i o u

Member Avatar for Ancient Dragon
0
130
Member Avatar for vic18
Member Avatar for eniine

How can i display unique number in a matrice . For example the matrice : 16483 23870 14509 26901 And this display : Nr: 0 -> 3 1 -> 3 2 -> 2 3 -> 2 4 -> 2 5 -> 1 6 -> 1 ......... . Plesae helo me

Member Avatar for Nick Evan
0
239
Member Avatar for xiansen

i am supposed which accepts a five-digit integer value. my program is then to output the digits, one per line. Each line of output should contain the digit value, its square and its cube. Once I have the program running correctly, modify the program so that it will process as …

Member Avatar for xiansen
0
199
Member Avatar for gabblesargh

The following code runs, but it only returns the same string, as many counts as the array. I want to return all the objects in the array (values) to the "lblMessage", one by one. Where is my mistake? [CODE] int i; int count; for (i=0, count = [values count]; i<count; …

Member Avatar for peter_budo
0
183
Member Avatar for raghamayee

Hi everyone, I have written a program which can be performed in two ways...now,i want to compare the times taken by both approaches...can anyone help me how to get it...

Member Avatar for mike_2000_17
0
141
Member Avatar for darkroad

Assuming that we enter the integer value is 5689798. Summing up the digits gives 5+6+8+9+7+9+8+8 = 58 that contains more than one digit, so we repeat the process: 5+8 = 13. we repeat until we got one digit: 1+3 = 4 . The final answer is 4. I don't know …

Member Avatar for ananda2007
0
164
Member Avatar for srinivasan106

[B]this program is to find maximum and minimum using divide and conquer technique[/B] [CODE=C]int min=32000,max=0; void maxi(int [],int,int),merge(int [],int,int,int,int); void main() { int a[30],n,i; printf("enter the limit\n"); scanf("%d",&n); printf("enter the aray elements\n"); for(i=0;i<n;i++) scanf("%d",&a[i]); maxi(a,0,n-1); printf("maximum is %d and minimum is %d\n",max,min); getch(); } void maxi(int a[],int first,int last) { …

Member Avatar for ananda2007
0
151
Member Avatar for sap.queue

#include<stdio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> #include<math.h> #define TRUE 1 #define FALSE 0 int t=1; int place(int k,int n); int queen(int k,int n); int x[5];//index for column and value at that index is row number int place(int k,int n) { int j; for(j=1;j<k;j++) { if((x[j]==x[k])||(k-j)==abs(x[j]-x[k])) { //printf("hi\n"); t=0; return t; } else …

Member Avatar for ananda2007
0
142
Member Avatar for Hafsa0110

hello! just started out here... i need help with this program i need to generate a 3*3 matrix having unique numbers in the range 1-9. I did this program using srand but i'm unable to get the correct output...i couldn't figure out the error...could someone plz help me?? here the …

Member Avatar for ananda2007
0
165