Skip to content

Commit 16772d3

Browse files
authored
Merge pull request codec-akash#17 from ShivamShah410/patch-1
Changing increment operator
2 parents 431dfba + 7359ec1 commit 16772d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CheckPrime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public static void main(String[] args) {
77
x=input.nextInt();
88
for(int i=1;i<=x;i++){
99
if(x%i==0){
10-
count+=1;
10+
count++;
1111
}
1212
}
1313
if(count>2 || count==1){

0 commit comments

Comments
 (0)