Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
15% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
7
Posts with Downvotes
4
Downvoting Members
4
1 Commented Post
0 Endorsements
~12.6K People Reached
Favorite Forums
Favorite Tags
c x 12
gas x 3
Member Avatar for Yustme

Hi everybody, I'm new in programming. Getting started with C. Im trying to do a few easy things like to uppercase a string. But i got stuck... This is what i have so far: [code] void toupper( char *text ) { char c[] = "testING"; } [/code] And im not …

Member Avatar for brcsur
0
9K
Member Avatar for ashish2expert

I'm having a problem with this code. Can you explain me why this is not working: #include <stdio.h> #include <stdlib.h> typedef struct NODE { int value; struct NODE *next; } Node; int main(void) { Node *root = NULL, *connector; int n; printf("Enter a series of number: "); for(;;) { scanf("%d", …

Member Avatar for deceptikon
0
103
Member Avatar for ashish2expert

Hello, Though I have done this question without string functions but can anybody give me short algorithm for this. Here is the question: Write a program that reverse the words in a sentence: Enter a sentence: *you can cage a swallow can't you?* Reversal of sentence: *you can't cage a …

Member Avatar for ashish2expert
0
908
Member Avatar for ashish2expert

Hi, In the following program i have not defined <stdlib.h> header and included rand() function and it works without this header. How? #include <stdio.h> #include <stdbool.h> #include <time.h> #define NUM_SUITS 4 #define NUM_RANKS 13 int main(void) { bool in_hand[NUM_SUITS][NUM_RANKS] = {false}; int num_cards, rank, suit; const char rank_code[] = {'2', …

Member Avatar for vegaseat
0
512
Member Avatar for ashish2expert

Hi, I have a problem that wants to be calculated only by while loop. (no other loop, no goto, break) Develop a program that will input the miles driven and gallons used for each tankful. The program should calculate and display the miles per gallon obtained for each tankful. After …

Member Avatar for ashish2expert
0
3K