0% found this document useful (0 votes)
15 views6 pages

PIC Assignment 1 220463

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

PIC Assignment 1 220463

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

Programming in C Assignment

Name:-Deepak Yadav
Roll No:- 220463
Q.1:- program to Display only a number if user enters Negative
Number.
OUTPUT:

Q.2:- Program To check whether the given number is Even Or Odd.


OUTPUT:
Q.3:- Program which will Check whether entered Char is an Alphabet
or Special Char
OUTPUT:

Q.4:- Program to Check Whether the Entered Year is leap Year or Not
OUTPUT:-
Q.5:- Program to Find Largest among Three Numbers.(Using nested if
else statement)
OUTPUT:

Q.6:- Program to find Largest among three numbers.(Using if else


Statement)
OUTPUT:
Q.7:- Program to find Largest among Four Numbers.(Using nested if
else Statement)
OUTPUT:

Q.8:- Program to Find largest among Four Numbers.(Using if else


Statement)
OUTPUT:
Q.9:- Program which will take Username and Password as input and
Print whether the username and Password is Correct or Not.
OUTPUT:

Q.10:- Program to find Sum Of all Odd Numbers between 1 to 20


OUTPUT:
Q.11: Program Which will print the Gross Salary of an employee if
basic salary from the keyboard and HRA=10% of basic salary, DA=15%
of basic salary and TA=500 if basic salary>10000 , HRA=2000, DA=7%
of basic salary and TA=1% of basic salary
OUTPUT:

Q.12:- Program Which will take Input as an amount in Rupees amd


print the possible number of notes available in that amount.
OUTPUT:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy