Skip to main content

Q1 — Print Your Name

Write a C program that prints your name to the console.

Q2 — Area of a Rectangle

Take length and breadth as input and print the area.

Q3 — Swap Two Numbers

Swap two integers without using a third variable.

Q4 — Login Name Validation

Validate that a login name contains only alphabetical characters.

Q5 — Validate User Password

Check if a password meets the company’s security policy.

Q6 — ATM Withdrawal System

Simulate ATM banking transactions with balance, deposit, and withdrawal.

Q7 — Validate Student Name

Accept a name and check if it contains only alphabetical characters.

Q8 — Marathon Calorie Calculator

Calculate calories burned by a marathon runner based on distance.