....
I didnt got it can you plz explain. How can i fix it
IAmMADMAX
In this Program you get the start number and the end number of a region and should return the count of all numbers except numbers with a 5 in it. The start and the end number are both inclusive!
Examples:
1,9 -> 1,2,3,4,6,7,8,9 -> Result 8
4,17 -> 4,6,7,8,9,10,11,12,13,14,16,17 -> Result 12
The result may contain fives. ;-)
IAmMADMAX
In this Program you get the start number and the end number of a region and should return the count of all numbers except numbers with a 5 in it. The start and the end number are both inclusive!
Examples:
1,9 -> 1,2,3,4,6,7,8,9 -> Result 8
4,17 -> 4,6,7,8,9,10,11,12,13,14,16,17 -> Result 12
The result may contain fives. ;-)
Please Help me I have Tried but Cannot Figureour how to do it
olli
IAmMADMAX
Shall i Give it?
IAmMADMAX
Where is your code?
#include <stdio.h>
int dontGiveMeFive()
{
int start,end;
scanf("%d %d",&start,&end);
int x=0;
for (int i=start;i<=end;i++)
{
if (i%5==0 && i%10!=0);
else if (i<=59 && i>=50);
else
x++;
}
printf("%d",x);
}
int main()
{
dontGiveMeFive();
}
Anonymous
Stars✨
Is this group real helpful
『ᏰᏂ』 User X
yeah
Anonymous
hi guys ! How I send photo about my programming problem
Dada
Im solving a problem called URLify, below link has my code and my solution. It works but gives me a weird error that i cant understand y....
My code and question:
https://pastebin.com/RAfuHK1S
Error and console output:
https://pastebin.com/jK3Se494
Igor🇺🇦
Anonymous
hi guys
Dada
Sometimes admin warns for pics so tat
Anonymous
Anonymous
is there any cheating group cause i dont want to violate the instructions
Dada
Hmm rules....
Anonymous
I try socket programming but I have some problems so I should photo because ıt is a little hard to explain
Anonymous
I send photo in url ?
Dada
Anonymous
thanks.
Бодя
Please, help me to solve an exam task🙏
Write program in C++ in a single .cpp file.
Create structure ColorDot with such fields: x and y coordinates, and a C-string that defines the color of the dot. Create the QueueContainer structure that represents implementation of the queue data structure with the help of dynamic arrays: it must contain a dynamic array that will hold ColorDot instances, and the real size of the queue. You may add other fields if needed. Create functions that implements basic operations on the queue structure, Also add a function that prints all the elements of the given QueueContainer queue. You may create other helper functions. Demonstrate QueueContainer operation in main().
Anonymous
I try socket program and I want to basic chat program with C. my problem is in photo and in photo , I def
Anonymous
defined char* sending malloc
Anonymous
https://hizliresim.com/Q0BxMM
Anonymous
I send message but some sentences invisible
Anonymous
now, I send code phtoto
Dada
Im solving a problem called URLify, below link has image of the question, my code, and the error. It works but gives me a weird error that i cant understand y....
https://paste.pics/BA2WJ
Anonymous
Thanks
Anonymous
Ammar
Ishank
Should I start with C or C ++?
Alex
Chinaka
good morning
Al
c++ mostly include c , even if is a different language now
Al
i would start with c anyway
Chinaka
please i installed visual studio on my linux but cant code c++ with it
Chinaka
please do i need to install somthing else
Al
gcc
Al
u probably installe visual studio code not visual studio
Al
they are different things
Chinaka
Al
you still need to compile you program manually unless you dont have a plugin installed
Al
and you need a compiler like gcc clang
Al
you have your terminal in the lower side
Andrew
Al
assuming is a debian distro is wrong
Al
by default
Gaurav
Do anyone have handwritten notes of programs for searching and sorting techniques?
Chinaka
am a newbie to programming, so please hw do i get the gcc compiler
Anonymous
Thanks
Al
linux is not always debian... and apt is just related to a dbian distro... if is an arch a gentoo or something else your apt wont work at all...
Al
your apt LIMIT your answer to a debian distro
Andrew
Al
well he said linux
Al
thats OT anyway 😀
Dada
Igor🇺🇦
Dada
Tq so much
Oleg
Hello guys!
Can you help me create study roadmap from beginning to Linux Kernel Developer?
I know that need learn c and c++ but what next?
Thanks!
Alex
Oleg
Igor🇺🇦
Thanks!
And this one is important too. https://en.wikipedia.org/wiki/Introduction_to_Algorithms.
So it's C-> algorithms-> modern OSs ->, Linux kernel
Oleg
Henry
Henry
Is phone advisable for coding
Andrew
not much
Furkan
hello guys i have an important C homework can anyone help me?
あおい ハート
int a,b;
cin>> a>>b;
cout<<a<<endl;
cout<<b<<endl;
Input :
5.5 is given then
Output:
5
0
Why b is not asked?😅
Alex
あおい ハート
Alex
try input 5 5