Created
October 10, 2015 20:55
-
-
Save tinkerstudent/f707e1441a6272aac957 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tinkeracademy.ap; | |
| public class Q2 { | |
| public static void main(String[] args) { | |
| int x = 0; | |
| while ((x*x + 7*x + 12) != 0) { | |
| x = x + 1; | |
| } | |
| System.out.println(x); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment