Professional Documents
Culture Documents
PIC MICRO PROJECT (Mini Calculator)
PIC MICRO PROJECT (Mini Calculator)
PIC MICRO PROJECT (Mini Calculator)
MICRO PROJECT
Academic year: 2022-2023
TITLE OF PROJECT
MINI CALCULATOR
1
ANNEXURE-I
➢
To know how to create a mini calculator in C language
➢
To get information about C Programming
➢
Gain knowledge about the structures of the C language
➢ ➢
Develop ‘C’ programs using a control structure
Develop ‘C’ programs using while and if.
Proposed Methodology
2
ACTION PLAN:-
Sam Godson
1 Searching the topic for micro-project
Harshul
4 arrange all information in ms word
Kadam
Parth
5 Prepare a report on it using MS word
Telavane
Mehul
Chopade
3
RESOURCED USED:-
8 GB RAM,
1 Laptop Windows 11 1
OS
2 Internet Earthsave.net
1
Related Post: Business Communication
Using Computer 22009 MSBTE Micro Project
Textbook/ Programming in
3
Manual C 22226
4
BRIEF INTRODUCTION:-
5
• Programmable calculators are
calculators that can automatically carry
out a sequence of operations under
control of a stored program.
• Most are Turing complete, and, as
such, are theoretically general-purpose
computers.
• However, their user interfaces and
programming environments are
specifically tailored to make performing
small-scale numerical computations
convenient, rather than general-
purpose use.
6
CODE:-
#include <stdio.h>
int main() {
char op;
double first, second;
printf("Enter an operator (+, -, *, /): ");
scanf("%c", &op);
printf("Enter two operands: ");
scanf("%lf %lf", &first, &second);
switch (op) {
case '+':
printf("%.1lf + %.1lf = %.1lf", first, second, first + second);
break;
case '-':
printf("%.1lf - %.1lf = %.1lf", first, second, first -
second); break;
case '*':
printf("%.1lf * %.1lf = %.1lf", first, second, first *
second);
break;
case '/':
printf("%.1lf / %.1lf = %.1lf", first, second, first /
second); break;
// operator doesn't match any case
constant default:
printf("Error! operator is not correct");
}
return 0;
}
7
OUTPUT : -
8
ACTUAL RESOURCES USED:-
2 Internet Earthsave.net
textbook/manua Programming in C
3 l 22226 1
SKILL DEVELOPMENT:-
1. Teamwork
2. Communication skills
3. Able to get all information about C language and how
to create mini calculator in ‘C’