= "What will be the number if one is devided by one and multiplied by one?";
                  
                  
                      char* st = strtok(letters, " ");
                  
                  
                      char* word;
                  
                  
                      int max = 0;
                  
                  
                      st = strtok(NULL, "?");
                  
                  
                      while (st) {
                  
                  
                          int n = strlen(letters);
                  
                  
                          int counter = 0;
                  
                  
                          for (int i = 0; i < n; i++) {
                  
                  
                              for (int j = 0; j < n; ++j) {
                  
                  
                                  if (letters[i] == letters[j]) {
                  
                  
                                      counter++;
                  
                  
                                      cout << letters[i]; 
                  
                  
                                      word = st;
                  
                  
                                  }
                  
                  
                              }
                  
                  
                              //            if(counter>max) {
                  
                  
                              //                max=counter;
                  
                  
                              //                word=buf;
                  
                  
                              //            }
                  
                  
                          }
                  
                  
                      }
                  
                  
                      cout << "Result: " << word << endl;
                  
                  
                      return 0;
                  
                  
                  }'
                  
                  
                
у вас C++ или C в итоге? Тут просто мешанина какая-то
Обсуждают сегодня