Created
November 4, 2020 12:25
-
-
Save Kayberen/3a829b211f63036866855d05fd2673b7 to your computer and use it in GitHub Desktop.
NYP LAB 3 project
This file contains 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
# Default ignored files | |
/shelf/ | |
/workspace.xml |
This file contains 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
<html>Simple <b>Java</b> application that includes a class with <code>main()</code> method</html> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Encoding"> | |
<file url="PROJECT" charset="UTF-8" /> | |
</component> | |
</project> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="EntryPointsManager"> | |
<entry_points version="2.0" /> | |
</component> | |
<component name="ProjectKey"> | |
<option name="state" value="project://e2804f05-5315-4fc6-a121-c522a6c26470" /> | |
</component> | |
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK"> | |
<output url="file://$PROJECT_DIR$/out" /> | |
</component> | |
</project> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectModuleManager"> | |
<modules> | |
<module fileurl="file://$PROJECT_DIR$/untitled5.iml" filepath="$PROJECT_DIR$/untitled5.iml" /> | |
</modules> | |
</component> | |
</project> |
This file contains 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
<template> | |
<input-field default="com.company">IJ_BASE_PACKAGE</input-field> | |
</template> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ChangeListManager"> | |
<list default="true" id="f3e352e8-6233-406f-b168-73a11bdcde42" name="Default Changelist" comment="" /> | |
<option name="SHOW_DIALOG" value="false" /> | |
<option name="HIGHLIGHT_CONFLICTS" value="true" /> | |
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> | |
<option name="LAST_RESOLUTION" value="IGNORE" /> | |
</component> | |
<component name="ProjectId" id="1j6OvTDVhuWefG4y1bDmuxWpfte" /> | |
<component name="ProjectViewState"> | |
<option name="hideEmptyMiddlePackages" value="true" /> | |
<option name="showLibraryContents" value="true" /> | |
</component> | |
<component name="RunManager"> | |
<configuration name="Main" type="Application" factoryName="Application" temporary="true"> | |
<option name="MAIN_CLASS_NAME" value="com.company.Main" /> | |
<module name="untitled5" /> | |
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" /> | |
<RunnerSettings RunnerId="Run" /> | |
<ConfigurationWrapper RunnerId="Run" /> | |
<method v="2"> | |
<option name="Make" enabled="true" /> | |
</method> | |
</configuration> | |
<recent_temporary> | |
<list> | |
<item itemvalue="Application.Main" /> | |
</list> | |
</recent_temporary> | |
</component> | |
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" /> | |
<component name="TaskManager"> | |
<task active="true" id="Default" summary="Default task"> | |
<changelist id="f3e352e8-6233-406f-b168-73a11bdcde42" name="Default Changelist" comment="" /> | |
<created>1603121305162</created> | |
<option name="number" value="Default" /> | |
<option name="presentableId" value="Default" /> | |
<updated>1603121305162</updated> | |
</task> | |
<servers /> | |
</component> | |
<component name="WindowStateProjectService"> | |
<state x="549" y="154" key="FileChooserDialogImpl" timestamp="1603269977645"> | |
<screen x="0" y="0" width="1536" height="824" /> | |
</state> | |
<state x="549" y="154" key="FileChooserDialogImpl/[email protected]" timestamp="1603269977645" /> | |
<state width="1493" height="210" key="GridCell.Tab.0.bottom" timestamp="1603135501158"> | |
<screen x="0" y="0" width="1536" height="824" /> | |
</state> | |
<state width="1493" height="210" key="GridCell.Tab.0.bottom/[email protected]" timestamp="1603135501158" /> | |
<state width="1493" height="210" key="GridCell.Tab.0.center" timestamp="1603135501157"> | |
<screen x="0" y="0" width="1536" height="824" /> | |
</state> | |
<state width="1493" height="210" key="GridCell.Tab.0.center/[email protected]" timestamp="1603135501157" /> | |
<state width="1493" height="210" key="GridCell.Tab.0.left" timestamp="1603135501157"> | |
<screen x="0" y="0" width="1536" height="824" /> | |
</state> | |
<state width="1493" height="210" key="GridCell.Tab.0.left/[email protected]" timestamp="1603135501157" /> | |
<state width="1493" height="210" key="GridCell.Tab.0.right" timestamp="1603135501157"> | |
<screen x="0" y="0" width="1536" height="824" /> | |
</state> | |
<state width="1493" height="210" key="GridCell.Tab.0.right/[email protected]" timestamp="1603135501157" /> | |
<state x="209" y="33" key="new project wizard" timestamp="1603269984974"> | |
<screen x="0" y="0" width="1536" height="824" /> | |
</state> | |
<state x="209" y="33" key="new project wizard/[email protected]" timestamp="1603269984974" /> | |
</component> | |
</project> |
This file contains 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.company; | |
public class Main { | |
public static void main(String[] args) { | |
int limit=1; | |
System.out.print("Palindrom sayilar: "); | |
while(limit<9999){ | |
int sayi=limit; | |
int mod; | |
int terssayi=0; | |
while(sayi>0){ | |
mod=sayi%10; | |
terssayi=terssayi*10+mod; | |
sayi=sayi/10; | |
if(terssayi==limit){ | |
System.out.print(terssayi+" "); | |
} | |
} | |
limit++; | |
} | |
} | |
} |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="JAVA_MODULE" version="4"> | |
<component name="NewModuleRootManager" inherit-compiler-output="true"> | |
<exclude-output /> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | |
</content> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
</module> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment