C++ ....................
Ответ
0 (0 оценок)
0
kristinaYaromeeva 1 год назад
Светило науки - 19 ответов - 0 раз оказано помощи

#include <iostream>

using namespace std;

int main(){

   double av;

   int k, len;

   cout << "Put your average diploma score: ";

   cin >> av;

   cout << "Put amount of your working months";

   cin >> len;

   if(len == 0) k = 1;

   else if(len < 24) k = 13;

   else k = 16;

   av * k >= 45 ? cout << "Your application has been accepted" : cout << "Your application has been denied";

}