0% found this document useful (0 votes)
2 views1 page

CP Lab Manual PDF Fahrenheit Computer Programming

Na

Uploaded by

Malika Parveen
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)
2 views1 page

CP Lab Manual PDF Fahrenheit Computer Programming

Na

Uploaded by

Malika Parveen
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

CP Lab Manual

Uploaded by Bhagya

! 0 ratings · 295 views · 48 pages


AI-enhanced description

Document Information "


The document provides information about a comput…

Original Description:
Download now
&
Download as pdf or txt
Copyright
© © All Rights Reserved

Available Formats
PDF, TXT or read online from Scribd

Share this document


T DIP TRI ENGINEERING COLLEGE

#
Facebook
$
(APPROVED BY AICTE&AFFILIATED TO JNTUA)

KADAPA ROAD,NEAR SJK, TADIPATRI,ANANTAPUR-515411.

Twitter

%
Email

Did you find this document useful?

COMPUTER PROGRAMMING LAB


Is this content inappropriate?:- [Link]
COURSE

REGULATION :- R23
Report
PREPARED BY

[Link],

Prepared By [Link] [Link] Page 1

AD Download to read ad-free

WEEK 1
Objective: Getting familiar with the programming environment on the computer and writing
the first program.
Suggested Experiments/Activities:
Tutorial 1: Problem-solving using Computers.
Lab1: Familiarization with programming environment
i) Writing simple programs using printf(), scanf()

Program

#include <stdio.h>

int main() {

int number1, number2, sum;

printf("Enter two integers: ");

scanf("%d %d", &number1, &number2);

// calculate the sum

sum = number1 + number2;

printf("%d + %d = %d", number1, number2, sum);

return 0;

Prepared By [Link] [Link] Page 2

AD Download to read ad-free

WEEK 2
Objective: Getting familiar ith how to formally describe a solution to a roblem in a series
of finite steps both using text al notation and graphic notation.
Suggested Experiments /Act ivities:
Tutorial 2: Problem-solving sing Algorithms and Flow charts.
Lab 1: Converting algorithm /flow charts into C Source code.
Developing the algorithms/flowcharts for the following sample programs
i) Sum and average of 3 num ers
ii) Conversion of Fahrenheit to Celsius and vice versa
iii) Simple interest calculatio

i) Sum and average f 3 numbers

Flow chart

Prepared By [Link] [Link] Page 3

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

AD Download to read ad-free

You might also like