Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for Hitman Mania

Hey, this is one of the exam review questions, and I'm wondering how I would return 1 or 0 for bad input (i.e. cant divide by input 0) using return 0 and 1 if the function doesn't accept returns, i.e. void function (int variable) //cant have return statement. Here is …

Member Avatar for BobS0327
0
197
Member Avatar for Hitman Mania

Hey, so this is my final java assignment for 1st year comp sci program. I really want to get a decent mark before exams, so please I need your help. I've been working on it hard, but this assignment is making me feel dumb :( I'm supposed to make an …

Member Avatar for NormR1
0
274
Member Avatar for Hitman Mania

Hey, I have this simple lab that I'm working on, but I keep getting an error while compiling. Here's the question: **Write a program called lab09.c that -prompts the user for a character and then a string. -REMOVES all occurrences of that character from the string, and -prints the changed …

Member Avatar for jayarajtk
0
258
Member Avatar for Hitman Mania

Hey, I'm almost done my long program that I've been working on all week, but I'm stuck on this tiny problem where I can't seem to add more than one shape component inside a frame at the same time. [CODE]final Rectangle recComp = new Rectangle(); final Ellipse ellipseComp = new …

Member Avatar for ejosiah
0
154
Member Avatar for Hitman Mania

So I'm doing this simple draw program where I let the user click a button, i.e. Rectangle, and then click any desired place on the JFrame to draw it. Now, I want the user to first click on the JButton, then click anywhere on the JFrame (so that I get …

Member Avatar for JamesCherrill
0
165
Member Avatar for Hitman Mania

I have the equation 6a+9b+20c=n with n being the total number of McNuggets, and the "a" "b" "c" being the pack combos of McNuggets. Now, for n, there are different combinations that can be used to get n where n >= 6. [B][U]The problem asks that I should be able …

Member Avatar for Adak
0
166
Member Avatar for Hitman Mania

So I'm trying to make a program that counts how many vowels are there in the user's first name. I tried to make the code but its not 100% functional, can someone take a look and tell me where I went wrong? [CODE]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> …

Member Avatar for Hitman Mania
0
1K
Member Avatar for Hitman Mania

So I'm trying to make a program that generates twin prime numbers between 1 and 1000. I think I got it, but I can't stop the looping it goes on forever. Here's my code so far: #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int a, c; a=3; …

Member Avatar for gerard4143
0
78
Member Avatar for Hitman Mania

CAn someone give the C code for this? thanks :) : A prime number is an integer, greater than 1, that is only divisible by 1 and itself. 3, 11, and 43 are examples of prime numbers. Twin primes are a pair of prime numbers which differ by 2. For …

Member Avatar for gerard4143
-1
94