Search:

Type: Posts; User: agentxx04

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,376

    Thanks! This really helps me!!! :D

    Thanks! This really helps me!!! :D
  2. Replies
    4
    Views
    1,376

    Question about 2D arrays?

    Hi. Does anybody know how to use scanf w/2-dimensional arrays?

    You see, our class went over arrays today, & I'm still confused how you can enter values & print them out.

    I know how to do this:...
  3. Is there another way to write this program?

    Hi. Our assignment was to write a program that accepts lines of text which the user types, and display them in the politically correct non-sexist form by changing all occurrences of the strings "man"...
  4. Replies
    2
    Views
    912

    Question about functions

    Hi! My program finds the average & mode of a set of 6 integers. It's all under main. See?



    #include<stdio.h>

    int main()
    {
    int temp[6], i, avg, mode;
  5. What do I do when there's more than 1 mode?

    Hi. My program is supposed to find the average & mode of a set of 6 integers. This is what I have:



    #include<stdio.h>

    int main()
    {
    int temp[6], i, avg, mode;
  6. Replies
    11
    Views
    2,195

    My professor said to use the getche( ) function...

    My professor said to use the getche( ) function for inputting the first letter of the customer's last name. So, I can't get rid of it. :( It's a shame to cause when I replaced it with getchar(),...
  7. Replies
    11
    Views
    2,195

    Well, I fixed the getche(), & there's no errors...

    Well, I fixed the getche(), & there's no errors now. I'm trying to make the program to appear on the screen like this:

    Customer Number? : 3
    1st letter: W
    Amount of purchase? :

    But instead...
  8. Replies
    11
    Views
    2,195

    :eek: Oops!!! I can't belive I didn't see...

    :eek: Oops!!! I can't belive I didn't see that!!!! :o I now fixed that & now there's one error left. Thank You for pointing that out. ;)

    OK, here's my updated program.




    #include...
  9. Replies
    11
    Views
    2,195

    Here are the errors.

    These were the errors:

    Error 16: Function call missing ) in function main()
    Error 17: Cannot convert 'int (*)()' to 'char[1]' in function main()
    Error 19: Function call missing ) in function...
  10. Replies
    11
    Views
    2,195

    Can't understand what I'm doing wrong.

    Write a program which stores coded information about sales for customers. Each customer has a unique number from 1 to 100. The program prompts the user for :

    1. the customer number
    2. the first...
  11. Replies
    7
    Views
    1,361

    Ok! The values I plugged in work now. Now I know...

    Ok! The values I plugged in work now. Now I know how I can fix that third for loop. Thank you SO Much for your help!!! :D
  12. Replies
    7
    Views
    1,361

    Umm... Pablo615? :( I executed what you...

    Umm... Pablo615? :(

    I executed what you typed, but it didn't work when I entered some values. :confused: But you did help me a little. ;) This is what I have so far:




    #include...
  13. Replies
    7
    Views
    1,361

    Thank You. :)

    I really appreciate your advice. :)
  14. Replies
    7
    Views
    1,361

    Need some help with my program please.

    Our professor gave us an assignment but I'm having some trouble with it:

    ASSIGNMENT 3


    We can define a triple as a sequence of three non-negative numbers. Here are some examples of triples:
    ...
  15. Replies
    9
    Views
    4,465

    Thank you so much for your help!!! :)

    Thank you so much for your help!!! :)
  16. Replies
    9
    Views
    4,465

    I need some help with my program please.

    Hi! I turned in my program to my professor, but he said that there was improper line spacing & that my program gave the wrong answer for square root of the average. :(

    If anyone could kindly...
Results 1 to 16 of 16