Search:

Type: Posts; User: $ingh

Search: Search took 0.02 seconds.

  1. how do I practically use the tm_isdst flag in the localtime function - C

    I know this may be very simple but I am having difficulty using the tm_isdst flag inside the localtime function inside time.h

    When calling the localtime function, a flag is set. The flag is...
  2. Replies
    5
    Views
    864

    Simple program help

    I am trying to write a program that will give the user the corresponding upper or lower case letter based on the input.

    If you enter "H", the program will spit out "h". and vice versa.
    The...
  3. converting floating point number to a currency display

    So im trying to generate a program that will take a floating point number and have the output display it as a currency, example:

    input 34534.3675
    output $34,534.37

    input 99.1
    output $99.10
    ...
  4. Replies
    8
    Views
    1,287

    passing random values into array

    So here is my issue,

    the range is 1 to 49, inclusive in an array.
    You must input how many integers you wish to show on the output. (lets say 12 is your input).

    The expected random output...
  5. Replies
    6
    Views
    1,553

    I got the solution, i realized that i didnt even...

    I got the solution, i realized that i didnt even need arrays, thanks guys


    #include <stdio.h>

    int main (void)
    {
    char i;
    int rc;
    do{
  6. Replies
    6
    Views
    1,553

    thanks

    thanks for the help guys.

    Can anybody paste up a solution though?
  7. Replies
    6
    Views
    1,553

    Help for letter count generating program

    Design a program with the following specifications:
    Prompt the user for an alphabet.
    Continue to prompt until a valid alphabet has been entered.
    Starting with the user inputted alphabet, print...
Results 1 to 7 of 7