+ 1
What is my mistake in this code?
I would like write a Twin Prime challanges code, what could am i do? (My english is not good.) and Can if statement be used in loops? https://code.sololearn.com/cvQX1qgQdxXO/?ref=app
5 ответов
+ 1
So, How am i declare a variable between two integers?
+ 1
int x=0, y=15;
+ 1
Look my solution :) I find!
0
you haven't used any loop
maybe you want to replace the first if with while???
you can use if in any loop
you use uninitialized variable x, so it is doesn't actually compile