No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi guys ! I've made a program that marks a seat taken X in an airplane .. So, here's what I've done.. it runs , but when i try to input other seat code, i.e., 1G, the no.2 in the grid becomes 88.. and I don't know how did that … |
|
I've been working on a program that inverts a word and changes the vowels in the word into an asterisk.. I'm confused on where to put the strset in my code.. can someone teach me how to? thanks.. Here's my code.. I know it's simple but I'm just a beginner … |
|
Does someone know how to integrate a collection of programs as one whole program? Thanks. :) |
|
Can someone help me in building a syntax for this problem Write a program that accepts a positive integer and gives its prime factorization that expresses the integer as a product of primes. Here's one that I did: [CODE] #include<stdio.h> #include<conio.h> void main() int N,R; clrscr(); printf("Please enter a no.:\n"); … |
|
Can someone please check my syntax? Thanks. The program runs but the output has some kind of error. Thanks. [CODE] #include<stdio.h> #include<conio.h> #include<string.h> void Pig_Latin_Converter() { char str[50]; char nv[50]="yay"; char c[50]="ay"; char key[]="aeiou"; char keys[]="bcdfghjklmnpqrstvwxyz"; char test[20]; char *p=str; scanf("%s",str); { p=strpbrk(str,key); if(str!=p) { strcat(str,nv); printf("Output: %s", str); } … |
|
Re:
help how to count the remaining letters from the similar.. Example.. carl, 2 barbie, 4 [CODE]#include<iostream.h> #include<string.h> #include<conio.h> #include<stdio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); printf("Enter Boy's Name: "); gets(boy); fflush(stdin); printf("Enter Girl's Name: "); gets(girl); fflush(stdin); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); … |
|
Can someone tell me what's wrong with my syntax.. THanks [CODE] #include<stdio.h> #include<conio.h> void FACTORIAL(int factorial=1, int N) {int y; {for(y==1;y<=N;y++) factorial=factorial*y; printf("The factorial of %d is %d", N,factorial);} } void main() {clrscr(); printf("Please enter a no."); scanf("%d",&N); FACTORIAL(factorial=1,N); getch(); } [/CODE] |
|
Re:
How to create a simple password accepter program in C language |
|
Re:
I'm new at this so sorry if my vocabulary and stuff is totally off. With the following syntax, my goal is to call the choose_number function, which, when given two arguments (integers), returns one of those two at random. I run it multiple times with a for loop but it … |
|
I just want to ask.. How could I make the input (password) invisible? |
|
Re:
I got some problems with my program here. There are lots of lacking in my code. Hope you can help me with this guys. I'm still a student. Here's the problem: A program that prints figures of (*): 1. Displays a menu [1] Figure 1 [2] Figure 2 [3] Figure … |
|
Can someone help me to create a syntax for a christmas tree... (the christmas tree must be like the shape of a true to life one) thanks. |
|
Re:
I am having problem in converting military time to standard. The task I have is to take time from different cities around the world, adjust it to eastern time, and then display it in standard format with AM or PM. For example: User gave time for london 23:40 I scan … |