KakaoTalk_20190606_001802318.png
  • 246x0w
Welcome
Curriculum
Install&Go
Board
실제 작동 상태를 확인하려면 라이브 사이트로 이동하세요.
  • 카테고리
  • 전체 게시물
  • 내 게시물
송이
2019년 10월 22일

191022

게시판: 소스 코드 제출


/*

#include <stdio.h>


int main()

{

printf("Hello\n");



return 0;

}

*/


/*

#include <stdio.h>


int main()

{

printf("Hello World");

return 0;

}

*/

/*

#include <stdio.h>


int main()

{

printf("Hello \nWorld");

return 0;

}

*/

/*

#include <stdio.h>


int main()

{

printf("\'Hello\'");

return 0;

}

*/

/*

#include <stdio.h>


int main()

{

printf("\"Hello World\"");

return 0;

}

*/

/*

#include <stdio.h>


int main()

{

printf("\"!@#$%^&*()\"");

return 0;

}

*/

/*

#include <stdio.h>


int main()

{

printf("\"C:\\Download\\hello.cpp\"");

return 0;

}

*/


/*

#include<stdio.h>


int main() {

int n;


scanf("%d", &n);

printf("%d %d", n+n, n*5);

return 0;

}

*/

/*

#include<stdio.h>


int main()

{

int n;

scanf("%d",&n);

printf("%d",n);


return 0;

}

*/

/*

#include<stdio.h>


int main()

{

double yee;

scanf("%lf",&yee);

printf("%lf", yee);


return 0;

}

*/

/*

#include<stdio.h>


int main()

{

char x,y;

scanf("%c %c",&x, &y);

printf("%c %c", y,x);//


return 0;

}

*/

/*

#include<stdio.h>


int main()

{

char x,y;

scanf("%c %c",&x, &y);

printf("%c %c", y,x);//


return 0;

}

*/

/*

#include<stdio.h>


int main()

{

char x,y;

scanf("%c %c",&x, &y);

printf("%c %c", y,x);//


return 0;

}

*/

/*

#include<stdio.h>


int main()

{

int a;

scanf("%d", &a);

printf("%d %d %d",a,a,a);


return 0;

}

*/


/*

#include<stdio.h>


int main()

{

int a,b,c;


scanf("%d.%d.%d", &a, &b, &c);

printf("%04d.%02d.%02d", a, b, c);

}

*/

/*

#include<stdio.h>


int main() {

int a, b;


scanf("%d %d", &a, &b);


printf("%lf", (double)a/b);


}

*/

/*

#include<stdio.h>


int main() {

long long int a, b;


scanf("%lld %lld", &a, &b);


printf("%lld", (long long int)a+b);


return 0;

}

*/

/*

#include<stdio.h>


int main() {

char a;


scanf("%c", &a);


printf("%c",a+1);


return 0;

}

*/

/*

#include<stdio.h>


int main() {

long long int a, b;


scanf("%lld %lld", &a ,&b);


printf("%lld", a%b);


return 0;


}

*/

#include<stdio.h>


int main() {

int a;


long long int b;


scanf("%d %lld", &a ,&b);


printf("%lld\n", a+b );


printf("%lld\n", a-b);


printf("%lld\n", a*b);


printf("%lld\n", a/b);


printf("%lld\n", a%b);


printf("%.2lf",(double)a/b);


return 0;

}










댓글 0개
0
댓글 0개
주소 : 경기도 용인시 광교중앙로 302 블루 스퀘어 602호
연락처 : 031) 216 - 1546
사업자등록번호 : 465-92-00916
​학원 등록 제 4603호