Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream.h>
- #include<fstream.h>
- int main(){
- ifstream f1("BAC.TXT");
- int x,i=0;
- while(f1>>x){
- cout<<x;
- i++;
- if(i%5!=0)
- cout<<" ";
- else
- cout<<endl;}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement