Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~29.8K People Reached
Favorite Forums
Member Avatar for yaldoo

Hello everyone, I am having trouble with my code to list all the prime numbers in R. This is what I have thus far: prime = 0:100 for(val in prime){ if (val == 0){ next } else if (val == 1){ next } else if(val == 2){ val = 2 …

Member Avatar for AssertNull
0
6K
Member Avatar for yaldoo

Okay, so after the whole incident two years ago with a really terrible computer science GTA teaching C++ in the summer I have decided to give programming another chance. But this time I am teaching myself Python at my own pace and I am currently using an intro book. And …

Member Avatar for yaldoo
0
681
Member Avatar for yaldoo

Hello All! I am having trouble with my C++ code. The problem is that my code isn't giving me the correct logic outputs, Also, my teacher said to MUST MAKE the output look like this : P and Q : T P or Q : T P --> Q : …

Member Avatar for sepp2k
0
4K
Member Avatar for yaldoo

Okay, I was given this problem, its another of those file I/O streams and I was wondering how I can change this code to be more "efficient" and change a lot of things. I'm having trouble on what I should change and what I should keep. Please help me out …

Member Avatar for David W
0
2K
Member Avatar for yaldoo

Okay, I have another problem that I can't figure out and it has to do with the I/O file stuff. This is the problem: Write a function, CountElement, that receives two arguments: a 2-dimensional char array and the size of the array. This function counts the number of digits, small …

Member Avatar for David W
0
305
Member Avatar for yaldoo

Okay guys, I am having a problem with this code. I really need help with this one because I am stuck. The problem with this question is that the name, ss, id, and pass have to be ONE STRING. It's stupid because I wish I could make the strings split …

Member Avatar for NathanOliver
0
4K
Member Avatar for yaldoo

Okay, I have another problem. It has nothing to do with the file I/O streams. But I want to make modifications with this code. It works but I would like to make changes though. PLEASE NOTHING TOO FANCY, I'm still a beginner. Thank you for the help! Write a function, …

Member Avatar for tinstaafl
0
1K
Member Avatar for yaldoo

Okay, so I was given this problem for my assignment, and I was wondering if I have completed the tasks the question asks. I would also like to know how I can improve this code as well. Please nothing too fancy as I have just learned arrays. Question: Write a …

Member Avatar for NathanOliver
0
2K
Member Avatar for yaldoo

Hey guys, I need help with another one of those I/O File coding. I am super clueless and this is what I have so far: /*Write a program that merges the numbers in two files and writes all the numbers into a third file. Your program takes input from two …

Member Avatar for yaldoo
0
6K
Member Avatar for yaldoo

Hey people! Can you please help me with this problem? I am so stuck on it and my instructor gave me hints on what I should do. No arrays or anything crazy yet, I'm still a beginer. 1.) Write a program that will compute average word length (average number of …

Member Avatar for yaldoo
0
4K