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
Ranked #22.6K
~3K People Reached
Favorite Tags

8 Posted Topics

Member Avatar for D.M.
Member Avatar for jashbela
Member Avatar for Onlineshade
0
152
Member Avatar for queenjay14

[CODE]double sumAverage[10]; int k ; double sum ; double average = 0 ; k = 0; sum = 0; cout << "Input 10 positive numbers" << endl; cin >> sumAverage[k]; [/CODE] Will only let you enter one number for sumAverage[0], the rest of the elements need to be initialised with …

Member Avatar for WaltP
0
221
Member Avatar for maxcraft

How about setting up a reverse loop starting at the end of the array and looking for the first instance that you come across? You could also add a check to report if that instance is the same as the the first instance of the int.

Member Avatar for vijayan121
0
115
Member Avatar for by_the_blood

Hey By the Blood (Can I address you as just "by"? :-) ). A couple of things, when setting up loops involving arrays, instead of settings up the for loop as a hard coded number of loops (i.e. [CODE];j < 5;[/CODE]), I'd use [CODE]i < scores.size()[/CODE] and [CODE]j < scores[i].size()[/CODE]. …

Member Avatar for laosland
0
1K
Member Avatar for dashure

How about creating setName, setSalary, getName, getSalary in your CWorker class?

Member Avatar for laosland
0
221
Member Avatar for Dani

For what it's worth, how about splitting the result between two memory locations? [QUOTE=prithaghoshal;634156]Hi, We are working on an ALU Architecture in VHDL including instructions of Multiply and Divide. We are confused about how exactly the results from Multiplication or Division are sent outside the ALU. The adder subtractor have …

Member Avatar for laosland
0
296
Member Avatar for blamp

[QUOTE=blamp;1146426]Im at a total lost for the first problem but for the second problem I think it would be 0000000000100001110 because it would be 20 bits without changing the value of the interger and it remains in 2's complement[/QUOTE] IIRC, you'd lose the sign value though. The 10 bit version …

Member Avatar for strmstn
0
140

The End.