No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Once performed great in class, then took the wrong turn in life, now picking up the pieces and is hungry for knowledge. The only problems is, I really don't know where should I begin. Interesting...
Re:
I have a project for school that i am working on, and i cant figure out how to store names in an array. i have it declared as [code] char firstname[25]; char lastname[25]; [/code] but i was told that just stored one string and when i go to print out … |
|
Re:
1)w.a.p. in c language that accepts a file as input and prints the no. of words in it. 2)w.a.p. in c language that accepts a file as input and converts all alphabetic characters in it to upper case. 3)w.a.p. in c that accepts a string and prints the list of … |
|
Just what is wrong with this simple code of mine? [CODE]#include<stdio.h> #include<string.h> #include<stdlib.h> main() { int i=0, num; char a[8]; char keyword[8]; system("cls"); while(i<8) { num = rand()%3; if ( num == 0 ) a[i] = 65 + rand()%26; /* 65 is the ascii value of A */ else if … |
|
Will atoi() convert the convertible characters in a string? I mean, in this problem, [code=c]post[20]="822*/3+2"[/code], if i write [code=c]atoi(post)[/code], will it convert the numerical characters to int? And how about the operators? |
|
[CODE]strcpy(post[j],in[x]);[/CODE] Just what is wrong with this code of mine? in[x]='4' But it doesn't copy the value to post[j] |
|
My question is: If i'm the customer, how can i edit the quantity shown on the overview so that i can afford to pay the totalprice(if i've ordered too much) and delete some on the overview if i want to delete it(really short on money). And if i'm the owner … |
|
Re:
A Fibonacci sequence is defined as follows the first and second terms in the sequence are 0 and 1 subsequent terms are found by adding the preceding two terms in the sequence write a c program to genera? |
|
Re:
How to do this assigment.im did not understand it..plz somebody help me.i will appriciate anybody who will help me. The program question are like this and this program should use c programming:- The owner of a snack bar wants a system which will allow a menu, with prices, to be … |
|
[code] #include <stdio.h> #include <string.h> #include <conio.h> #define MAX 17 #define TAX_RATE 0.12 #define LENGTH 30 struct menuItemType { char menuItem[LENGTH]; float menuPrice; int numOrdered; }theMenu[MAX]; void Menu(void); int getData(int); void overView(void); void initialize(void); int order(void); float pbill=0; float bill=0; float totalTax=0; int main(void) { int choice=0; char end; initialize(); … |
|
Re:
[QUOTE=Kerry;41762][COLOR=Blue]Hello, my name is kerry and i just sign up .Well, my question is how do reverse a number input by user using recersive function.Thanks for the help. [/COLOR][/QUOTE] I have a sequence of 5 numbers. I want to write it in reverse order. Could you please help me that … |
|
i am Brian D. Tinampay, a first year student of Mindanao University of Science and Technology taking up Bachelor of Science in Information Technology in Cagayan de Oro City. I am a former computer game addict that eagerly wants to learn more about computer programming. Our schedule is only once … |
|
I'm new in programming, i really really want to learn and i think i can learn faster if someone will give me problems so that i can answer them without asking for help from others. Now, i learned loop last week so i think i'm on for making programs. I … |