Problem Solving 22BCT10085
Problem Solving 22BCT10085
Problem Solving
Worksheet – 1
Section/Group: 22BCB-124 ( B )
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:
2. Viva-Voce 10
3. Worksheet Submission (Record) 8
Signature of Faculty (with Date): Total Marks Obtained: 30