I'm trying to modify the following code to:
-display the process ID of the parent
-fork 16 child processes from the parent, displaying their process
IDs
I know this is a simple problem, but...
Type: Posts; User: Niloc1
I'm trying to modify the following code to:
-display the process ID of the parent
-fork 16 child processes from the parent, displaying their process
IDs
I know this is a simple problem, but...
I had to write a program that prompts a user for their name in lower case letters, transfers this input into a file, read the name in lower case letters from the file, transfer the name into upper...
I'm having a problem with a 2d array program. I wrote the bulk of a program that takes the marks of three courses and provides an average. The output looks like this;
Prgm Eng. Math Average
0,0...
I have a good grasp of the mathematical concepts of finding a median, but I've been working for four days on this little bit of code. Nothing I do seems to work properly...
Colin
I've got a slight problem with the final part of a program I've been working on. It uses one-dimensional arrays, sorts the results in order, processes and prints the average of the numbers in the...
I've been working on this one for a while, and I can't figure out how to program the second function. The program calls for two user-defined functions: one that will print a line of *(stars) from one...
Thanks again.
I've got it working, but I have one question. What is the += mean? I haven't seen that one yet.
Colin
The program will print the sum of the integers between m and n inclusive, where m and n are user input values.
After writing the pseudocode, I went to work and have this as part of my source code:...
Thanks people! The answer was simple but I just couldn't see it because I was thinking about it too much.
Colin
I'm writing a program in C and have encountered an obstacle. Here's my pseudocode:
prompt for 1st number
read 1st number
...