So I changed the code to this:
printf("\n");
gets(sentence);
And it finally works! :D
What's the use of
Type: Posts; User: zenox_ruiz
So I changed the code to this:
printf("\n");
gets(sentence);
And it finally works! :D
What's the use of
We have to make a code to detect the frequency of printable characters.
But when I run the code, sometimes it can't detect the Uppercase Letters. But it can sometimes. It's a bit buggy, and it...
Hi everyone! I need some help to shorten my code.
We have to use loops, since it's our current lesson.
We have to make something like this:
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
6 6 6 6 6 6
It worked without the Y/N
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
clrscr();
int z[20],zenox;
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
clrscr();
int z[20],zenox;
char x;
printf("Do you want to continue? [Y/N]");
scanf("%c",&x);
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
clrscr();
int z[20],zenox;
char x;
printf("Do you want to continue? [Y/N]");
scanf("%c",&x);
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main(){
clrscr;
int z[20],zenox;
char x;
for(zenox=0;zenox<20;zenox++)
loop:
{
I finally made the array work, but the [Y/N] doesn't work well. It's always stuck at "Do you want to repeat? [Y/N]"
Whenever you press any button, the same message appears. Is there anyway to exit...
No we haven't learned about it yet, but I'm currently searching for tutorials.
Hi! I'm a newbie. I need to make a program to input grades, then in the end, it will ask if you want to repeat or not. "Do you want to repeat [Y/N]?"
If yes, it will repeat again. If no, the...