0% found this document useful (0 votes)
39 views

C-Programing Lab Assignments: Assignment 1

This document outlines 10 programming assignments for a C programming lab. The assignments include writing programs to display personal information, calculate data sizes and conversions between numbering systems, determine ASCII codes, build a basic calculator, calculate areas of shapes using separate functions, swap two numbers with and without a third variable, calculate simple interest, and calculate the average and mean of numbers using a formula. The assignments are for a C programming course offered by WSCUBE Tech Pvt. Ltd. located in Jodhpur, India.

Uploaded by

Deep Raj Jangid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

C-Programing Lab Assignments: Assignment 1

This document outlines 10 programming assignments for a C programming lab. The assignments include writing programs to display personal information, calculate data sizes and conversions between numbering systems, determine ASCII codes, build a basic calculator, calculate areas of shapes using separate functions, swap two numbers with and without a third variable, calculate simple interest, and calculate the average and mean of numbers using a formula. The assignments are for a C programming course offered by WSCUBE Tech Pvt. Ltd. located in Jodhpur, India.

Uploaded by

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

C-PROGRAMING LAB ASSIGNMENTS

Assignment 1
Q1. WAP to display information about you
I. Name
II. Address
III. Branch
IV. City
Q2. WAP to find sie of
I. lon! int
II. short float
III. si!ned char
Q". WAP to con#ert !i#en no.
I. decimal to octal
II. he$adecimal to octal
III. octal to he$adecimal
Q%. WAP to find A&CII code of !i#en character.
Q'. WAP to create a calculator that can perform arithmetical operations li(e
addition) subtraction) di#ision and multiplication.
Q*. WAP to calculate A+,A of !i#en by separate functions.
I. Area of circle
II. Area of trian!le
III. Area of rectan!le
IV. &-uare
Q.. WAP to s/ap t/o numbers
I. By usin! third #ariable
II. Without usin! third #ariable
Q0. WAP to calculate simple Interest.
Q11. WAP to calculate !i#en formula for " numbers
I. A#era!e
II. 2ean
WSCUBE Tech Pvt. Ltd.
Bhaskar Circle, Ratanada, Jdh!"r
Cntact#$$%&''$1$(

You might also like