LoginSignup
1
0

More than 1 year has passed since last update.

C言語学習 - 九九表

Last updated at Posted at 2022-08-08

この記事について

・二重Forループによる九九表の作成

今日のソース

掛け算九九表を作成

#include <stdio.h>

int main(void)
{
	for(int i=1; i<=9; i++){
	
		for(int j=1; j<=9; j++){
			
			printf("%d\t",i*j);
		}
		
		printf("\n");
	}
	
	return 0;
}

実行結果

九九表.png

やってみて思ったこと

調べもの中に掛け算九九表を見た影響から作成してみた。
アルゴリズムの方面か、C言語で不明な点(型や構造体、ポインタ)のどちらから学習するか悩み中
マイコンを中心にしていきたいので、後者の方が良い気がする。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0