Recent content by jasonsmith206

  1. J

    MHB Bomb Game Project: Enter 3-Digit Code to Disarm Before Time Runs Out

    Hey everyone! This is my own personal project that I'm trying to get right but i ran into a bit of a problem. Here's the idea: I want to make a text based game where the player inputs data such as choices or numbers reflected what's asked of them from the program. The below program is...
  2. J

    MHB Odd/Even and Prime: Check 819877966 Numbers

    you're right "output certain numbers" was exactly what he gave us for instructions. He's a teacher who likes the fact that we should learn this on our own and that we should and i quote "fumble around, flop and flip before we understand what we're doing" which i get that i understand completely...
  3. J

    C/C++ Print Theater Seats in C++: numRows & numCols

    Had something similar to Intro to C at my school. Took a while to figure out but one part of it was making the 1 row but second row went 2A 2A 2A to a second line. So basically anyone whos on C or knows C and on C++ currently i trimmed the fat on the code and the result is this. cheers int...
  4. J

    MHB Odd/Even and Prime: Check 819877966 Numbers

    Hi everyone, been a busy week and I've got midterm cal 2 on monday so i need to get this done as fast as possible so i can focus on my math. I've got two assignments each requiring me to input 819877966 as a user number and its two parts 1.) is to break the usernumber into individual numbers...
  5. J

    MHB Compound Interest C programming problem

    I finally got it! after a week at hammering at this thing and getting your help to polish it up this is the end result and I'm super happy with it ha! thank you so much :) #include<stdio.h> #include<math.h> int main() { int time; double principle, rate, Yearly, interest, Quarterly...
  6. J

    MHB Compound Interest C programming problem

    yea! i just figured out the calculation error i was getting too. It was an unreal mistake for principle(1+.02/100), time; was giving me all the interest repeated through the loop for 20 years i got that part now what i was having trouble on was doing the same kind of loop for bi yearly...
  7. J

    MHB Compound Interest C programming problem

    Hey, yea I'm very new at all this so its hard for me to get the formality of it down while balancing my other classes on campus. What i was trying to do was work backwards from yearly to quarterly to monthly ect. This all has to be done column by column and the only advice my TAs have given us...
  8. J

    MHB Compound Interest C programming problem

    Hello everyone, i hate that i can't figure this out and I'm just looking for good direction on how to figure out the last bit of my code. I'm first time user of C programming and haven't fully grasp the concepts and tools available to me so be patient if you offer any help. My task is to write a...
  9. J

    C/C++ Problems with C program- Not C++ and not Java

    wow! i did everything right on scanf but instead of printing what you've got i put (userWord and userNum to = word_number).. so close yet so far. Thank you so much for your help that one was driving me crazy!
  10. J

    C/C++ Problems with C program- Not C++ and not Java

    A user types a word and a number on a single line. Read them into the provided variables. Then print: word_number. End with newline. Example output if user entered: Amy 5 Amy_5 #include <stdio.h>int main(void) { char userWord[20] = ""; int userNum = 0; /* Your solution goes here */...
Back
Top