This document outlines 7 programming assignments for a C programming lab. The assignments include: 1) Writing a program to display personal information. 2) Finding the size of different data types. 3) Converting between decimal, octal, and hexadecimal numbers. 4) Finding the ASCII code of a character. 5) Creating a basic calculator. 6) Calculating the areas of different shapes using separate functions. 7) Swapping two numbers with and without a third variable. It also includes calculating simple interest and the average and mean of 3 numbers.
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 ratings0% found this document useful (0 votes)
40 views
C-Programing Lab Assignments: Assignment 1
This document outlines 7 programming assignments for a C programming lab. The assignments include: 1) Writing a program to display personal information. 2) Finding the size of different data types. 3) Converting between decimal, octal, and hexadecimal numbers. 4) Finding the ASCII code of a character. 5) Creating a basic calculator. 6) Calculating the areas of different shapes using separate functions. 7) Swapping two numbers with and without a third variable. It also includes calculating simple interest and the average and mean of 3 numbers.