Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Khisby Al Ghofari, 06.2017.1.06852, Kelas B
- #include <iostream>
- using namespace std;
- int main()
- {
- char bread,loaf,baking;
- cout << "\n===============================\n";
- cout << "Welcome To \n";
- cout << "Application Bread Machine Control\n";
- cout << "=================================\n \n";
- cout << "Choose Bread\n";
- cout << "Enter W for White,Enter S for Sweat \n";
- cout << "Input your choose : ";
- cin >> bread;
- cout << "\nChoose Loaf Size\n";
- cout << "Enter N for normal size,Enter D for Double size \n";
- cout << "Input your choose : ";
- cin >> loaf;
- cout << "Choose Baking\n";
- cout << "Enter A for Auto,Enter M for Manual \n";
- cout << "Input your choose : ";
- cin >> baking;
- cout << "\n\n";
- if(bread == 'w' || bread == 'W'){
- cout << "Primary Kneading is 15 min \n";
- }else if(bread == 's' || bread == 'S'){
- cout << "Primary Kneading is 20 min \n";
- }
- if(bread == 'w' || bread == 'W'){
- cout << "Primary Rising is 60 min \n";
- }else if(bread == 's' || bread == 'S'){
- cout << "Primary Rising is 60 min \n";
- }
- if(bread == 'w' || bread == 'W'){
- cout << "Secondary Kneading is 18 min \n";
- }else if(bread == 's' || bread == 'S'){
- cout << "Secondary Kneading is 33 min \n";
- }
- if(bread == 'w' || bread == 'W'){
- cout << "Secondary Rising is 20 min \n";
- }else if(bread == 's' || bread == 'S'){
- cout << "Secondary Rising is 30 min \n";
- }
- if(bread == 'w' || bread == 'W'){
- cout << "Loaf Shiping 2 Second \n";
- }else if(bread == 's' || bread == 'S'){
- cout << "Loaf Shiping 2 Second \n";
- }
- if(baking== 'm' || baking == 'M'){
- cout << "Stop! Remove the dough for manual baking \n";
- }else if(baking== 'a' || baking == 'A'){
- cout << "Final Rising 75 Min \n";
- if((loaf == 'n' || loaf == 'N')&&(bread == 'w' || bread == 'W')){
- cout << "Baking 45 Min \n";
- }else if((loaf == 'd' || loaf == 'D')&&(bread == 'w' || bread == 'W')){
- cout << "Baking 67 Min 30 Second \n";
- }else if((loaf == 'n' || loaf == 'N')&&(bread == 's' || bread == 'S')){
- cout << "Baking 35 Min \n";
- }else if((loaf == 'd' || loaf == 'D')&&(bread == 's' || bread == 'S')){
- cout << "Baking 52 Min 30 Second \n";
- }
- cout << "Cooling 30 Min \n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement