알고리즘문제

[백준] boj 1008 A/B (division)

Beginner:) 2018. 8. 7.
320x100
#include <stdio.h>

int main()
{
	int a,b;
    
	scanf("%d %d",&a,&b);
    
    printf("%.9f",a*1.0/b);
	return 0;
}




힌트
 
정수와 정수의 연산은 정수의 결과를 냅니다.



반응형

댓글