Wednesday, April 1, 2020

Learning C With the Help of Examples - Week 3

Task 10 : WAP to calculate the gross salary of the employee given the basic salary. Travelling Allowance, Dearness Allowance and Home Rental Allowance is 20%, 80% and 15% of Basic Salary respectively.

Task 11 : WAP to swap two numbers with the help of a Temporary Number.

Task 12 : WAP to swap two numbers without the help of a Temporary Number.

Task 13 : WAP to check if the number is even or not using conditional operator.

Task 14 : WAP to find the greatest number amongst three entered numbers using conditional operator.

Task 15 : WAP to find sum of two integers without using ‘+’ operator.

No comments:

Post a Comment

Binod Blog - A Simple Vulnerable Web App for Pen Testing

 Checkout the repo for testing various types of web attacks like SQL Injection, CSRF & XSS, Bruteforce etc.