lab
lab
Pseudocode:
Start
Input length
Input width
Assign Area= Length * Widht
Output Area
End
2. Calculate employee income tax based on the following formula: Tax = 0.25 *
(monthly income * 11 – number of kids * 450) Your program will display the name
of the employee and amount of tax on the screen.
Pseudocode:
Start
Intger Num,Result1,Result
Output "Enter number: "
Input Number
Assign Result1=(num+5)*2
Assign Reselt=Result1-7
Output Result
End
4. Get the radius value and calculate the area and circumference of the circle.
Psedocode:
String temp1,temp2
Srtring message
Input char1
Output "enter second char : "
Input char3
End
A Program that will assign values to three variables and print them.
The first variable should contain the string ‘Python’, the second should
contain the integer 10, and the third should contain the floating-point
value 98.10.
Declare integer y
Declare floating s
Assign x= python
Assign y= 10
Assign s= 98.10
Pseudocode:
Start
String x
Declare Integer Y
Declare Real S
Assign= s
Assign=y
Assign=x
8. A Program that will displays the following information: a. Name b. Address with city,
state and poscode c. Telephone number d. Course program
Tel num
Course program