0% found this document useful (0 votes)
7 views4 pages

Problem Solving 22BCT10085

Uploaded by

yash.tanwar1302
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Problem Solving 22BCT10085

Uploaded by

yash.tanwar1302
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Introduction to

Problem Solving

Worksheet – 1

Name: Prince Tanwar


UID: 22BCT10085

Branch: BE-CSE (BCT)

Section/Group: 22BCB-124 ( B )

Date of Performance: 16/09/2022

Subject: Introduction to Problem Solving

AIM:
1. Write a program that reads two numbers from key board and
gives their addition, subtraction, multiplication, division, modulo.
2. The distance between two cities (In KM) is input through key
board. Write a program to convert and print this distance in
meters, feet, inches & centimeters.

Tool Used:
Vs Code, Laptop
Prior Knowledge Required:
1. Basics of C language
2. Terminal
3. Compiler
4. IDE
CODE:

1. Write a program that reads two numbers from key board and
gives their addition, subtraction, multiplication, division,
modulo.

Code:

Output:

2. The distance between two cities (In KM) is input through key
board. Write a program to convert and print this distance in
meters, feet, inches & centimeters
Code:

Output:

Result / Observation:

1. Compilier calculate the result by configuring the value of a and b


entered by user.
2. Every thing which have logic in it can be written as is code
language.
Learning Outcome:
1. In this experiment we have learned basic of C language.
2. About compiler, terminal, syntax, variable, etc.
3. Learned about keywords.
4. We have understood the structure the programming.

Evaluation Grid (To be filled by Faculty):

Sr. No. Parameters Marks Obtained Maximum Marks

1. Student Performance (task 12


implementation and result evaluation)

2. Viva-Voce 10
3. Worksheet Submission (Record) 8
Signature of Faculty (with Date): Total Marks Obtained: 30

You might also like