Advertisement
AntonioVillanueva

Aprendiendo las frecuencias de Radio

Jun 28th, 2017
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.18 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5. string f [][4] = {
  6.     "2222","0.1357","0.1378","C,1,2",
  7.     "630","0.472","0.479","C,1",
  8.     "160","1810","1850","A",
  9.     "80","3500","3800","B",
  10.     "40","7000","7200","A",
  11.     "30","10100","10150","C",
  12.     "20","14000","14350","A",
  13.     "17","18068","18168","A"
  14.     "15","21000","21450","A",
  15.     "12","24890","24990","A"
  16.     "10","28000","29700","A 2",
  17.     "6","50000","52000","C",
  18.     "2","144000","146000","A 2",
  19.     "1.35","-","-","-",
  20.     "0.7","430","434","C",
  21.     "0.7","434-440","B",
  22.     "0.23","1240","1300","C",
  23.     "0.13","2300","2450","C",
  24.     "0.9","-","-","-",
  25.     "0.5","5650","5850","C",
  26.     "0.3","10000","10450","C",
  27.     "0.3","10450","10500","D",
  28.     "0.12","24000","24050","A",
  29.     "0.12","24050","24250","C",
  30.     "0.006","47000","47200","A"
  31.     "0.004","76000","81500","C A"
  32.     "0.0024","122250","123000","C",
  33.     "0.002","134000","141000","A C",
  34.     "0.0012","241000","250000","C A"
  35.                     };
  36. int main(){
  37.  
  38.  
  39.     while (1){
  40.    
  41.     for (int pos=0 ; pos < (int)  (sizeof (f) / sizeof (*f));pos++){
  42.         cout <<"banda "<<f[pos][0]<<endl;;
  43.         getchar();
  44.         cout <<"->"<<f[pos][1];
  45.         getchar();
  46.         cout <<"<- "<<f[pos][2] <<"  "<<f[pos][3]<<endl;
  47.             getchar();
  48.         }
  49.     }
  50.     return 0;
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement