Search:

Type: Posts; User: ZeeeD

Search: Search took 0.00 seconds.

  1. Thread: integer input

    by ZeeeD
    Replies
    5
    Views
    1,920

    Here is my code so where does the new part fit...

    Here is my code so where does the new part fit in?

    # include <stdio.h>
    # include <conio.h>
    void main(void)
    {
    int age;
    char answer;

    clrscr();
  2. Thread: integer input

    by ZeeeD
    Replies
    5
    Views
    1,920

    Thanks for the info but I dont have enough...

    Thanks for the info but I dont have enough knowledge to apply what you suggested, can you post an example?
  3. Thread: integer input

    by ZeeeD
    Replies
    5
    Views
    1,920

    integer input

    I am writing a program for an assignment which accepts a int number input for an age then prints out a relative message using if else statements. My problem is that it also converts an input when a...
  4. Replies
    2
    Views
    1,163

    Thanks for the help, it works like a dream

    Thanks for the help, it works like a dream
  5. Replies
    2
    Views
    1,163

    not sure how to fix this?

    I have written this program for an assignment and I have told the program to count the number of deposits and withdrawals then print them when the user is finished. My problem is that it also counts...
  6. Thread: comments

    by ZeeeD
    Replies
    3
    Views
    1,536

    comments

    I'm starting to learn C language and want to include comments in my programs but I'm not sure what parts to comment on and what not to bother with. is there any rule of the thumb?
  7. Thread: arrays

    by ZeeeD
    Replies
    3
    Views
    1,233

    I was able to make it more interactive by...

    I was able to make it more interactive by altering the count in the for loop. I set the elements of the array to 10 then added a scanf so that the user can nominated the count condition in the for...
  8. Thread: arrays

    by ZeeeD
    Replies
    3
    Views
    1,233

    arrays

    I have written an assignment program using arrays which prompts for a sales amount, then prompts for a percentage rate and then works out the commission for the sale using a for loop.

    I have set...
Results 1 to 8 of 8