<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>YuyaTerayama</author_name>
  <author_url>https://blog.hatena.ne.jp/YuyaTerayama/</author_url>
  <blog_title>TPY ENGINEERING VLOG</blog_title>
  <blog_url>https://eazy-tpy-prog.hatenablog.com/</blog_url>
  <categories>
    <anon>Java No.011〜No.020</anon>
    <anon>Java（初心者用）</anon>
  </categories>
  <description>こんにちは！駆け出しエンジニアTPYです！「こんな書き方もあるよ！」なんてコメントお待ちしています＾＾ あえて無駄な書き方をしてる場合もあるので、 その無駄を見つけたあなたはJavaスペシャリスト！ 【問題】 Nまでの和を求め、出力してください。 【条件】 2以上の整数Nが入力されます。 1からNまで1つずつ増加する数列の和を出力してください。 【実行例】 10（入力） 55 【解答例】 // No015 import java.util.*; class Main { public static void main(String[] args) { // Scannerクラスのインスタンスを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feazy-tpy-prog.hatenablog.com%2Fentry%2F2020%2F04%2F07%2F205834&quot; title=&quot;Java（初心者用）No.015　〜Nまでの和〜 - TPY ENGINEERING VLOG&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/153096909/1586171492535058</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-07 20:58:34</published>
  <title>Java（初心者用）No.015　〜Nまでの和〜</title>
  <type>rich</type>
  <url>https://eazy-tpy-prog.hatenablog.com/entry/2020/04/07/205834</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
