Hello, I have the following assignment: Open the file romeo.txt and read it line by line. For each line, split the line into a list of words...
I'm doing an exercise of which statement is below: You are responsible for a rail convoy of goods consisting of several boxcars. You start the...
This is an exercise that I'm doing from an online course and it says not using printf in the statistics function, only in the main funtion. That's...
I tried to do it with an array but I'm not getting it yet. Could you please explain me with some coding? Thanks a lot. #include <stdio.h> int...
But, returning to the original problema, is it possible to return the values of "mean" and "var" using an array?
Thanks Shabbir, the problem of the mean value is solved. However, I must confess I'm not good at pointers so I'm writing a smaller program to show...
Hello! I'm writing a program that calculates and shows the mean and variance of two integers. The result I'm getting is 7. But that's not the...
Thanks Shabbir again, now I could complete the whole program: #include <stdio.h> #include <math.h> int isPrime(int num) { int i; for (i=2;...
Hello, I want to go further in this code. I 've created a function biggerPrime to tell the biggest prime number between 2 and num. The only way I...
Thank you, ir worked!
I'm writing a program to calculate the number of prime numbers in a sequence. There's a variable called num that is given and then the program...
Separate names with a comma.