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
~10.4K People Reached
About Me

exploring new direction in life. learning math, programming, economics

Favorite Forums
Favorite Tags
Member Avatar for nightcrew

[QUOTE]Assume you have a int variable n that has already been declared and initialized. Its value is the number of integers that need to be read in from standard input and printed out in sorted (ascending) order, each on a line by itself. Furthermore, there are no duplicates in the …

Member Avatar for omgerg
0
3K
Member Avatar for marnun

> Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. > A string contains a vowel if: > The first character of the string is a vowel, or > The rest of the string (beyond the first character) contains a …

Member Avatar for marnun
0
508
Member Avatar for marnun

> Write an EFFICIENT program that reads in the name of a file containing positive integers that are less than 1,000,000. The program prints out the integers in the file, in the order that they appear, eliminating duplicates. So if the file contained 8 3 1 9 2 8 15 …

Member Avatar for marnun
0
263
Member Avatar for marnun

Here is the exercise: > fileWord > Write the definition of a function named fileWord that receives a string argument that is the name of a file containing words. > > The first time the function is called, it returns the first word of the file whose name it was …

Member Avatar for marnun
0
259
Member Avatar for marnun

It seems I don't understand completely reading from and into files, line by line. Here is my code that is supposed to read lines of two file, into string variables, I assume, and then write them into third file: *line of first file line of second file .... so on …

Member Avatar for marnun
0
262
Member Avatar for marnun

We started learning Heap property in class. Here is an exercise on the topic: > isHeap > Write the definition of a function named isHeap that receives three arguments as follows: > x : an array of ints > i : a valid index into the array x > n …

Member Avatar for marnun
0
235
Member Avatar for marnun

Next exercise from codeLab that I am getting logical error indication for. What am I missing? Thanks in advance. > You are given an array x of string elements along with an int variable n that contains the number of elements in the array. You are also given a string …

Member Avatar for marnun
0
2K
Member Avatar for marnun

Hi, another codelab sorting exercise I am having problem with. any advice is appreciated. ---------------------- > You are given an array x of int elements along with an int variable n that contains the number of elements in the array. There are no duplicates in this array. You are also …

Member Avatar for marnun
0
1K
Member Avatar for marnun

This is the exercise I have in codelab. I've been going over and over, and just can't see how to do it without an array. Must be something simple that I am missing. Any suggestions? _____ Assume you have a int variable n that has already been declared and initialized. …

Member Avatar for marnun
0
3K