<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>madotubo</author_name>
  <author_url>https://blog.hatena.ne.jp/madotubo/</author_url>
  <blog_title>言語解明</blog_title>
  <blog_url>https://madotubo.hatenadiary.org/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>今日は暇なのでまとめて消化しておく。ユーザーが入力した数値を変数に代入する方法について勉強した。基本はscanf関数とgetchar関数。入力される数値によって変換仕様が違う。double型はscanfの時は%lfであるということに注意。 #include&lt;stdio.h&gt; int main(){ int num; double num2; char num3; printf(&quot;文字を入力してください\n&quot;); num3 = getchar(); printf(&quot;整数を入力してください\n&quot;); scanf(&quot;%d&quot;,&amp;num); printf(&quot;小数を入力してください\n&quot;); scanf(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmadotubo.hatenadiary.org%2Fentry%2F20081120%2F1227174455&quot; title=&quot;入力関数の基本 - 言語解明&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-11-20 18:47:35</published>
  <title>入力関数の基本</title>
  <type>rich</type>
  <url>https://madotubo.hatenadiary.org/entry/20081120/1227174455</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
