Most voted "comparison" questions
Used to compare different types (compare variables, objects, files, etc).
Learn more…155 questions
Sort by count of
-
-2
votes1
answer39
views(Language C) I’m not really able to compare if between two chars
This is the initial menu code of the program: #include<stdlib.h> #include<stdio.h> #include<conio.c> #include<time.h> #include<locale.h> void inicio(); void logar();…
-
-2
votes1
answer59
viewsHow to Scrap with Python to compare prices on a shopping site?
Comparing the price of the same product every minute and notifying me when the value drops 50%. I used a While >= but it is returning an error indicating that you cannot use >= between str and…
-
-2
votes1
answer26
viewschar array comparison returns false even for char[] equal - C
I am a beginner in C, I am doing a college activity and trying to compare a data obtained via scanf with a data saved in a registry array that I believe but even entering the same value, always…
-
-4
votes1
answer47
viewsWhy is the while condition not an infinite loop?
Why the condition of this while is not a loop infinite? function fibonacci(n) { const fibSequence = [1]; let currentValue = 1; let previousValue = 0; if (n === 1) { return fibSequence; } let…
-
-5
votes1
answer66
viewsWhy is the comparison of objects with the same content false?
Why this condition is defined as false? I put image to be using the Google console and the code does not need to be executed since the doubt is conceptual.…