Skip to content

Instantly share code, notes, and snippets.

@boxp
Created June 19, 2013 00:09
Show Gist options
  • Save boxp/5810664 to your computer and use it in GitHub Desktop.
Save boxp/5810664 to your computer and use it in GitHub Desktop.
東京電機大学未来科学部ロボット・メカトロニクス学科の学生として恥じることの無い洗礼されたプログラム☝( ◠‿◠☝)(コンピュータ基礎再履の課題)
#include <stdio.h>
int main(int argc, char const* argv[])
{
const int a = 500,b = 300,c = 0;
int as,bs,cs;
printf("PC|゚Д゚)ノ  イラッシャイ\n");
printf("[おしながき]\nクソネミ( ˘ω˘ ):%d円\nエクストリームドドスコンダーオ:%d円\nスマイル( ◠‿◠ ):%d円\n", a, b, c);
printf("いくつ買う? -> クソネミ( ˘ω˘ ):");
scanf("%d", &as);
printf("いくつ買う? -> エクストリームドドスコンダーオ:");
scanf("%d", &bs);
printf("いくつ買う? -> スマイル( ◠‿◠ ):");
scanf("%d", &cs);
printf("アザァーシタァ!!%dエンナァリヤス!!┗┏┗┏┗┏┗┏('o')┓┛┓┛┓┛┓┛┓┛\n", (a*as+b*bs+c*cs));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment