Environment Mining
Environment Mining
MUMBAI
Certificate
This is to certify that, Ms.Shreya Kishan Kale , Ms.Namrata Sanjay Gogade , Ms.Samiksha
Soapn Rukme And Ramola Umakant Shelke students of our institute from second year
Diploma in computer have/has successfully completed the micro project report on
“Searching” of course “Data structure using ‘C’ ” as part of curriculum by the
Maharashtra State Board of TechnicalEducation , Mumbai.
For partial fulfillment of “Diploma in Computer Engineering” during the academic year
2023-24.
PRINCIPAL
Mr. Dharashive P.S.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
Micro-Project Report On
Submitted By
Name of Student
1 3.Proposed Methodology 1
4. Action Plan 2
5. Resources Required 2
1.Rationale 3
4. Literature Review 4
2
5.Actual Methodology Followed 5
7.Outputs of Micro-Projects 9
Annexure I
Micro Project Proposal
1 .Dynamic in size.
3. Proposed Methodology:
Here we are using switch statements to display Menu Card .
We have added functions (like $-for rupees)
And many more.
Meanu Card display the the various dishes of food and price of that. Also it
Shows the exact price of that food item.
4.Action Plan:
5. Resources Required:
Sr.
Name of resource / material Specification Quantity Remarks
No.
1 Computer WINDOWS 10,2GB 1
RAM, 160GB HDD
2 Operating System WINDOWS 10 1
Sr.
Enrollment No. Name of Team Member Roll No.
No.
1 23511540144 Shreya Kishan Kale 04
2 23511540158 Namrata Sanjay Gogade 18
3 23511540171 Samiksha Sopan Rukme 31
4 23511540207 Ramola Umakant Shelke 67
Creating a simple Menu Card to solve display the food items, quantity of respective
Food items and their price using C language and implement various learnt knowledge
About the language in Dev C++.
1. Understanding the switch case statements and its applications like simple Calculator.
3. To understand the data structure, flow chart and execution of the switch and user
defined function.
4. Literature Review:
Here we are using switch statements to create Menu Card.We have added
functions (like + to add , $ for price)
And many more.
Menu Card displays food items served at SRNS restaurant and their prices.
Program Code :
#include<stdio.h>
Int Orange()
Int qty,total;
Scanf(“%d\n”,&qty);
Total = qty*20;
}
Int Milk Shake()
Int qty,total;
Scanf(“%d\n”,&qty);
Total = qty*50;
Int Coffee()
{
Int qty,total;
Total = qty*30;
Int Tea()
Scanf(“%d\n”,&qty);
Total = qty*10;
}
Int Ice cream()
Scanf(“%d”,&qty);
Total = qty*40;
Int Pizza()
Int qty,total;
Printf(“Pizza Selected, Please! Enter the Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*110;
Int Pasta()
Int qty,total;
Scanf(“%d\n”,&qty);
Total = qty*90;
Int cheesecake()
Int qty,total;
Scanf(“%d\n”,&qty);
Total = qty*100;
Int Doughnuts()
Int qty,total;
Printf(“Doughnuts Selected, Please! Enter the Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*50;
Int FF()
{
Int qty,total;
Scanf(“%d\n”,&qty);
Total = qty*40;
Int CR()
Int qty,total;
Scanf(“%d\n”,&qty);
Total = qty*220;
Int main()
Printf(“ “);
Doughnuts\t\t\t50Rs.\n10. #include<stdio.h>
Int Orange()
{
Int qty,total;
Printf(“Orange Juice Selected, Please! Enter the
Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*20;
Int Milk_Shake()
Int qty,total;
Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*50;
Int Coffee()
Int qty,total;
Total = qty*30;
Int Tea()
“);
Scanf(“%d\n”,&qty);
Total = qty*10;
Int Ice_cream()
{
Int qty, total;
Quantity : “);
Scanf(“%d”,&qty);
Total = qty*40;
Int Pizza()
Int qty,total;
“);
Scanf(“%d\n”,&qty);
Total = qty*110;
Int Pasta()
Int qty,total;
“);
Scanf(“%d\n”,&qty);
Total = qty*90;
Printf(“Total Amount For Pay : %d\n”,total);
}
Int cheesecake()
Int qty,total;
Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*100;
Int Doughnuts()
{
Int qty,total;
Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*50;
Int FF()
Int qty,total;
Printf(“French Fries Selected, Please! Enter the
Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*40;
Int CR()
Int qty,total;
Quantity : “);
Scanf(“%d\n”,&qty);
Total = qty*220;
Printf(“Total Amount For Pay : %d\n”,total);
Int main()
***\n\n”);
Printf(“ “);
Printf(“\n\tProduct\t\t\tPrice\n\n1. Orange
Scanf(“%d”,&choice);
Switch(choice)
Case 1:
Orange();
Break;
Case 2:
Milk_Shake();
Break;
Case 3:
Coffee();
Break;
Case 4:
Tea();
Break;
Case 5:
Ice_cream();
Break;
Case 6:
Pizza();
Break;
Case 7:
Pasta();
Break;
Case 8:
Cheesecake();
Break;
Case 9:
Doughnuts();
Break;
Case 10:
FF();
Break;
Case 11:
CR();
Break;
Default :
Break;
5.2 Algorithm :
1. Start
2. Display a welcome message for SRNS Restaurant
3. Display the menu card with product names and prices
4. Initialize variables: choice, qty, and total (set total to 0)
5. Prompt the user to select a product from the menu
6. Read the user’s choice (integer input)
7. Use a switch-case statement to determine the selected product:
- For each case:
- Prompt the user to enter the quantity of the selected product
- Read the quantity input (integer)
- Calculate the total amount based on the quantity and price of the
selected product
- Display the total amount to be paid
8. If the user’s choice is not valid (default case), display an error message
9. End
Output no 1:
Output no 2 :
Output no 3:
5.3 Information about Program Code :
*********