#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;​
Срочно
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.