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
public class Main{ | |
public static void main(String[] args) { | |
int a = 10; | |
if(a++ > 10) | |
if(a < 100) a-- | |
else a--; | |
else a++; | |
System.out.println(a); | |
} | |
} |
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
using System; | |
namespace ConsoleApp1 | |
{ | |
//クラス | |
class Class1 | |
{ | |
//メソッド(引数) | |
static string Method(string name1, int num1) | |
{ |