?? timsolon.cpp
字號:
/* tim so lon nhat trong 3 so nhap tu ban phim */
#include<stdio.h>
#include<conio.h>
void main ()
{
float a,b,c,max;
do
{
printf("\ntim so lon nhat trong 3 so nhap tu ban phim\n");
printf("Nhap vao 3 so bat ki : ");
scanf("%f%f%f",&a,&b,&c);
max=a>b?a:b;
max=max>c?max:c;
printf("\n So lon nhat trong 3 so %f ;%f ;%f la %f",a,b,c,max);
printf("\nNhan ESC de ket thuc");
}
while (getch()!=27);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -