#include<iostream> using namespace std;
int main()
char fruits;
cout<<"fruits
cin>>fruits;
switch (fruits) {
case 'a': cout<<"apples"; break;
case 'p': cout<<"pear"; break;
case 'm': cout<<"mandarin"<<",";
case 'b'; cout<<"banana"; break;
case 'P': cout<<"peach"; break;
default: cout<<"There is no such fruit;
return 0;​


#include<iostream> using namespace std;int main()char fruits;cout<<fruitscin>>fru

витка9 витка9    3   12.12.2020 12:24    0

Другие вопросы по теме Информатика