Coding question 1:💻

Ramesh's basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary.

Coding question 2:💻

The distance between two cities (in km) is input through keyboard. Write a program to convert and print the distance in meters, feet, inches and centimetres.

Coding question 3:💻 Draw this Pattern 👇

    *
   * * 
  * * *
 * * * *
* * * * *

Coding question 4: Program to accept three numbers from user and print them in ascending and decending order

Coding question 5: Create the Swastika Pattern

*     * * * * 
*     *
*     *
* * * * * * * 
      *     *
      *     *
* * * *     *