kiem tien, kiem tien online, kiem tien truc tuyen, kiem tien tren mang
Wednesday, January 7, 2015


//nhập 10 số thực vào 1 file văn bản cso tên input
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
void main()
{
FILE *t;
float a;
t=fopen("E:\\input.txt","w");
if(t!=NULL)
{
for(int i=1;i<=10;i++)
{
printf("nhap so: ");
scanf("%f",&a);
fprintf(t,"%f\n",a);
}
}
else printf("loi\n");
fclose(t);
}
07 Jan 2015

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

domain, domain name, premium domain name for sales

Popular Posts