Search:

Type: Posts; User: caysonmars

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,920

    Here is what I have now. It outputs my name and...

    Here is what I have now. It outputs my name and lets me input T or F but it doesn't display the result.

    #include <stdio.h>
    #include <string.h>
    #include <ctype.h>
    int main(void)
    {
    int i,j;...
  2. Replies
    7
    Views
    2,920

    Ok if I use scanf for choice instead of gets and...

    Ok if I use scanf for choice instead of gets and I use printf instead of puts I get no errors, but nothing outputs. If U use gets and puts it says T[i] and F[i] can't be used:( I looked at the...
  3. Replies
    7
    Views
    2,920

    True or false statements

    I was wondering if someone could point me in the right direction here with my code.The objective of the program is to ask the users name and display their name before asking them a question. The...
  4. Replies
    7
    Views
    1,970

    Thank you Thank you. The one part of the program...

    Thank you Thank you. The one part of the program I wasn't looking at. You guys are awesome! CommonTater you are in fact an ExtroidinaryTater!
  5. Replies
    7
    Views
    1,970

    Ok, this is what I have now. I'm not sure where...

    Ok, this is what I have now. I'm not sure where I am going wrong here:( Can someone please point me in the right direction?




    #include <stdio.h>
    #include "conio.h"
    int main()
    { // 4x1...
  6. Replies
    7
    Views
    1,970

    Matrix multiplication

    So I have my program up and running but it us outputting the wrong values. 2 and of the four values are wrong. The first and last values are wrong for some reason while the second and third values...
  7. I'd appreciate any help I could get with this calculation of the median.

    I'm working on a function that performs both an average output and the median of string of numbers. To perform the median calculation first I must be able to sort the functions properly, but I am...
  8. Replies
    9
    Views
    19,916

    I'm kinda stuck again:( The pointer is pointing...

    I'm kinda stuck again:( The pointer is pointing down the row of binary numbers. The binary number is multiplied by the power of exponent from 7 to 0 and the answer is stored in storage_variable. ...
  9. Replies
    9
    Views
    19,916

    #include #include "conio.h" int...

    #include <stdio.h>
    #include "conio.h"

    int main()

    {

    char binary [128];
    int pointer;
    int exponent;
  10. Replies
    9
    Views
    19,916

    Binary to decimal conversion

    I've been working on this for awhile now and I've decided to start over.
    I'm trying to make a program where a user can enter 8 binary digits and have it output a number in decimal equal or less than...
  11. I think I almost have this degree to radian conversion.

    So I almost have this program running but I'm not sure why I have to put in two numbers, which need to match to get the second conversion right. Is there a command between the two that I am missing?...
  12. Replies
    13
    Views
    2,208

    or \t

    or \t
  13. Replies
    13
    Views
    2,208

    Yay I sort of got it to work but now the...

    Yay I sort of got it to work but now the formatting is off and I can't fix it with \n.


    #include <stdio.h>
    #include "conio.h"

    int main(void)
    {
    int i, j;
  14. Replies
    13
    Views
    2,208

    This is what I have so far #include...

    This is what I have so far


    #include <stdio.h>
    #include "conio.h"



    const int num_rows = 5;
    const int num_columns = 5;
  15. Replies
    13
    Views
    2,208

    So should I use the const int for number of rows...

    So should I use the const int for number of rows and columns or can I do this with declaring i and j as int? I'm kinda lost on how I can do that though, I know that I should be able to use two...
  16. Replies
    13
    Views
    2,208

    multiplication tables using for statements

    I'm having severe difficulty creating a multiplication table. I need to create a multiplication table that looks like this by multiplying i*j

    1*1= 1 1* 2=2 1* 3=3 1* 4=4 1* 5=5
    2*1= 2 ...
  17. I did use "%c" after scanf

    I did use "%c" after scanf
  18. Jeez I can't believe how many simple mistakes I...

    Jeez I can't believe how many simple mistakes I made. I switched the code around so many times I think that's how the area got messed up. This is what I have now, the first two variables actually...
  19. But I don't understand why the int value for the...

    But I don't understand why the int value for the radius still returns nonsense, it returns a small negative number. Not only that but I get an error saying that radius is being used without being...
  20. This multivariable problem seems so simple but I can't figure it out.

    I need to make a program that calculates the area of a circle but I have to use an int, char, and float. No matter what I do though I can't get the second and third variables to output meaningful...
Results 1 to 20 of 20