14 lines
167 B
C
14 lines
167 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int main() {
|
||
|
int num1 = 5, num2 = 2;
|
||
|
float result = (float)num1 / num2;
|
||
|
|
||
|
printf("Result = %.2f\n", result);
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
|