You are on page 1of 3

Cap 173 class Assignment 1

NAME : ADIP THATAL


REGISTRATION NUMBER : 12110371
CLASS: D2102
1.Write a program to add three numbers in c
● Solution
● Here the user is asked to enter whatever the integer
value and the sum is returned .
● include<stdio.h>is an header file
2.Write a program to find ASCII value of any input
character
● Solution
● Here the user is asked to give any character as input
and the ASCII value of that particular character is
given.
● ASCII stands for American standard code for
information interchange
● Char is an data type which stores a character
3.write a simple program to display something on screen.
● Solution
● A simple output was given with the use of printf
function.

You might also like