FileStream fs=new FileStream(fi.FullPath,FileMode.Open,FileAccess.Read); Image image=Image.FromStream(fs); int width=image.Width; int height=image.Height; fs.Close(); return new Size(width,height);
10 pai=3.141592 20 input "πを入れて", n 30 if n > pai then print "もっと小さい": goto 20 40 if n < pai then print "もっと大きい": goto 20 50 print "当たり!" 60 print "πの値は" 70 print n