Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdio>
- #include <iostream>
- #include <algorithm>
- using namespace std;
- int main()
- {
- cout << "Введіть номер блоку магнитного диску:" << endl;
- int n; cout << "N = "; cin >> n;
- cout << "Сканування " << n << "-го блоку диску ... " << endl;
- cout << "100% проскановано" << endl;
- for(int i=0; i<512; i++)
- {
- cout << (char)(rand()%115+14);
- if (i%70==0) cout << endl;
- }
- }
Add Comment
Please, Sign In to add comment