タグ

ブックマーク / phiary.me (1)

  • phiary

    phi I'm a Game Programmer and Frontend Engineer passionate about programming education. Math / C / C++ / C# / JavaScript / HTML5 / CSS3 / Python C言語で数当てゲームを実装 /* * 数当てゲーム */ #include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { srand((unsigned)time(NULL)); int answer = rand()%100+1; int n = 0; int turn = 0; printf("★ 数当てゲーム ★\n"); while (true) { printf("1~100 の間の数字を入力してください: ")

    phiary
    dozo
    dozo 2016/06/23
    関係ないけど、右下のマリオは消した方がいいよ
  • 1