Home
»
Lab 02
»
Hassan’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
Categories
array
assembly language
assembly language programs
C Language
C Programs
C++ Language
C++ Programs
class
conditional operator
Dynamic Memory Allocation
File Handling
functions
if else
Lab 01
Lab 02
Lab 03
Lab 04
Lab 05
Lab 07
Lab 08
Lab 09
Lab 10
Lab 11
Lab 12
lecture 01
lecture 02
lecture 03
lecture 04
lecture 05
lecture 06
lecture 07
lecture 08
Loops
macro
overload
pointers
strings
struct
switch statement
Tutorial
Popular Posts
-
Problem Write a program that asks the user to input marks of some subjects. The program calculates sum and average of those marks and ...
-
Hint: Area of rectangle = length * breadth Perimeter of a rectangle is the sum of the lengths of all the sides of the re...
-
Code #include<stdio.h> int main() { float t,t1,t2,t3; int m1,m2,m3; printf("\nInput notes in hundreds"); scanf(&q...
-
Instructions Instructions are statements that execute when we assemble the program. The instructions (written in assembly language) are ...
-
Problem Write a program that compares two given dates. To store date use structure say date that contains three members namely date, m...
-
Problem Write a menu driven program that depicts the working of a library. The menu options should be: Add book information Displa...
-
Problem Write a menu driven program that depicts the working of a library. The menu options should be: Add book information Display ...
-
Code #include<stdio.h> #include<conio.h> int main() { int days; float fine; printf("Number of days late: ")...
-
Advantages and Disadvantages of Assembly Language Let’s discuss few advantages and disadvantages of a level 3 i.e. assembly language. ...
-
Problem Write a menu driven program using switch statement that has the following options: Add numbers Subtract numbers Multiply nu...
No comments :
Post a Comment
Note: Only a member of this blog may post a comment.