Practice 2 You want to download a video. Its size is 1.5 GB. How much time will it take to download video? Your download speed is: a) 4 Mbps
b) 10 Mbps
c) 32 Mbps
d) 1 Gbps
Find your own download and upload speeds. Calculate the time to download a 2.5 GB file and time to upload a 1.5 GB file.
, только не берите с интернета,и с подробным решением
#include <iostream>
using namespace std;
int main(){ cout << "Vvedute kol-vo ocenok" << endl;
int n,i,a,Four,Five; n = i = a = Four = Five = 0;
cin >> n;
for (i = 1; i <= n; i++) { cin >> a; if (a == 4){ Four++;} else if (a == 5) { Five++; } } if (Four > Five){ cout << "Four" << endl;} else if (Five > Four) { cout << "Five" << endl; } else { cout << "Equal"<< endl; } cout << "Kol-vo 4: " << Four << " Kol-vo 5: " << Five << endl; return 0;}