学年

質問の種類

情報 大学生・専門学校生・社会人

c言語プログラム 本当に分かりません。 どなたか教えてください

(2点) 【演習3】 if-else と繰り返し文 最大値(整数)と整数xをキー入力すると、1から最大値までの整数を順に表示するプログラムを if-else 文および for文を使って作成せよ。 ただし、最大値が10~50以外の場合、または整数 x が 2~9以外で 入力された場合は、「範囲エラー」 を表示すること。 また、1から最大値までの整数を表示する際、表示 する整数が整数xで割り切れる場合は を、 割り切れない場合はその整数を表示すること。 xで割り切れる値は☆を表示 <ソースプログラム> #include <stdio.h> int main (void){ イント2 ント5 } printf("最大値: "); /* 変数宣言*/ return 0; printf(" 整数x: "); cats ; /*キー入力*/ // *キー入力*/ <実行例①> |最大値: 10 ↓ 整数x2↓ 13579☆ <実行例②> |最大値: 50 ↓ 整数x 91 12345678 10 11 12 13 14 15 16 17 19 | 20 21 22 23 24 25 26 28 29 30 31 32 33 34 35 ★ 37 38 39 40 41 42 43 44 46 47 48 49 50 <実行例③> 最大値: 9 整数x2↓ 範囲エラー <実行例⑤ > 最大値: 10 ↓ 整数X : 1↓ 範囲エラー <実行例④ > | 最大値: 51 ↓ 整数X ↓ 範囲エラー <実行例⑥ > 最大値: 50 ↓ 整数x : 10↓ 範囲エラー (下線部はキー入力を、↓は Enter を示す)

未解決 回答数: 1
英語 高校生

質問です。 これは発表の原稿なのですが、 英文法的に何かミスがあれば教えて頂きたいです!!! アドバイスがあればそれも頂きたいです! また、そうした理由も教えて頂けると嬉しいです!! 教えて下さい〜!!! 宜しくお願いします。

スイスは世界の中でも、中立を保ってきた国であり、 Switzerland is a country that has maintained neutrality in the world, メインテインド ネトゥラリティ! その国の硬貨はさっとその影響を受けていると感じ、興味を持ったので、 and I felt that the coins of that country surely influenced by that, so | was interested, 今回はスイスの硬貨について調べました。それについて話したいと思います。 I looked Swiss coins this time. I'd like to talk about that. SO were up まず、スイスフランはその名の通りスイスの硬貨です。 First, es the name suggests, the Swiss franc is a Swiss coin. スイスは歴史的に永世中立国であるが故ヨーロッパに位置しているのにもかかわらず、 neutral Switzerland has histarically been a permanently ネトゥラル EUに加盟せず自国通貨を起用しています。 despite being located in Europe, ロークティッド ヨーロプ it does the EU and uses its own. join not country, so SO currency. そして、それらの中でも1/1スイスフラン1スイスフラン、2スイスフランの 表面には同じものが描かれており、 Then 12/2 Swiss frans 1 Swiss franc, and Swiss fronos, 自国を擬人化した女性であるヘルヴェティアが描かれています。 Helvetia who is personified as Smitzerland is depicted in them. among them, the same thing is drawn on the surface of SC ver COL い。 ん また、草花をつなげて作られた花輪は連邦国家を象徴しています。 And, a wreath made by cannecting the flowers represerts a federal nartion. 見てとれるように、それらはスイスの"国家」というものの安定を表しているのです。

回答募集中 回答数: 0
英語 高校生

質問です。 これは発表の原稿なのですが、 英文法的に何かミスがあれば教えて頂きたいです!!! アドバイスがあればそれも頂きたいです! また、そうした理由も教えて頂けると嬉しいです!! 教えて下さい〜!!! 宜しくお願いします。

スイスは世界の中でも、中立を保ってきた国であり、 Switzerland is a country that has maintained neutrality in the world, メインテインド ネトゥラリティ! その国の硬貨はさっとその影響を受けていると感じ、興味を持ったので、 and Ⅰ felt that the coins of that country were surely influenced by that, so I was interested, 今回はスイスの硬貨について調べました。それについて話したいと思います。 I so Ⅰ looked up Swiss coins this time. Pd like to talk about that. まず、スイスフランはその名の通りスイスの硬貨です。 First, as the name suggests, the Swiss franc is a Swiss coin. スイスは歴史的に永世中立国であるが故ヨーロッパに位置しているのにもかかわらず、 country! Switzerland has histarically been a Permanently neutral counti SO ネトゥラル EUに加盟せず自国通貨を起用しています。 despite being located in Europe, ヨーロヴ it does not join the EU and uses its own currency そして、それらの中でも1/12スイスフラン1スイスフラン、2スイスフランの 表面には同じものが描かれており Then 12/2 Swiss frans 1 Swiss franc, and & Swiss francs, 自国を擬人化した女性であるヘルヴェティアが描かれています。 Helvetia who is personified as Switzerland is depicted in them. among them, the same thing is drawn on the surface of SC er 4 Cor 。 ん また、草花をつなげて作られた花輪は連邦国家を象徴しています。 And, a wreath made by connecting the flowers represents a federal nartion. 見てとれるように、それらはスイスの"国家”というものの安定を表しているのです。

回答募集中 回答数: 0
英語 高校生

‼️‼️至急お願いします‼️‼️ 分詞の文法が分かりません> <‪💧‬解答だけでもお願いしたいです🙇‍♀️🙏

7 分詞 1 空所に入る最も適当な語句を答えなさい。 166 167 There is a weekly brass band concert, ( weather is permitting 3 weather permitting 1) left my umbrella in the train, I got wet in the rain. 2 To be 3 To have Being 168 Bill was the only person ( 169( 170 What happened to Taro? He seems to ( 1 shock 2 shocked 171 They were ( amaze ) in the car accident. being injured 2 injuresmorl bo injured 79170 254 injuring foodse 100) in plain English, the book is suitable for beginners. Writing 2 Written 3 Having written 172 All things ( 175 ( 3 considering having considered 173 I've got a surprise. Keep your eyes ( 1 close 2 closing to close 174 Mary's parents seemed ( ) at the singer's fantastic voice. 2 amazedynille amazing of ), everybody can say this result is correct. 2 to consider relief Tre and wo? relieved 178 There is nothing ( embarrassment 2 weather will be permitting 4d weather permits Jnslia boniemen 4 176 He was lost in thought with his 1 close 2 closed KISV 150) by something. 3 be shocking eyes ( 4 Having ) his mistake, John decided to apologize to his parents. Had realized 2 Realized 3 Has been realizing li jarli ne ). 3 closing considered onod \ gniwonal (東京造形大) 4 To write t 4 4 be shocked (京都産業大) 静岡県立短大) matomy(東北工業大) 4mamazement (札幌大) ) to hear that her plane was on time. ( 聖マリアンナ医科大) to relieve 3 relieving Monty ) until I tell you to open them. ( 桜花学園大 ) close to have clo closed 3 4 od of brusque invasiq 280dy to IA to close (金蘭短大) 177 Do know that woman over there, the one (de ) in the white blouse? you mimidi won of w rol hatnicareant 27 11 1 to dress dressing 3 dressed 4 dresses ( 桜花学園大 ) (南山大) 4 Realizing ( 桜美林大) 南山大) ) about asking for help when you are in trouble. (関西学院大) embarrassing 3 embarrassed 4 embarrass 21 7 一分詞 分 詞

未解決 回答数: 1