enter the assessed value and tax rate
caculate th annual property tax by dividing the assessed value by 100 and then multiplying the result by the tax rate
display the annual property tax
Given a student has scored
M marks in Maths, P marks in Physics and C marks in Chemistry. Write a program to check if a student is eligible for admission in a professional course based on the following criteria:M >= 35, P >= 35, C >= 35 and total in any of the two subjects >= 90.
The first line is an integer
The output should be a single line containing
Given
M = 50, P = 35, C = 40
Sample Input1:
50
35
40
Sample Output:True
35
35
100
Sample Output:True
Given a student has scored
M marks in Maths, P marks in Physics and C marks in Chemistry. Write a program to check if a student is eligible for admission in a professional course based on the following criteria:Sum of marks in any two subjects >= 100 and M + P + C >= 180.
The first line is an integer
The output should be a single line containing
True if it satisfies the given conditions, False in all other cases.
Sample Input
82
55
45
sample output:True
Sample Input
71
30
70
Sample Output:False
Write code that puts "less than -9\n" to output if the value of userNum is less than -9.
Ex: If userNum is -15, then output is:
less than -9
userNum: -15Write a program to evaluate the arithmetic statement 𝑥 = −𝑏 + (𝑏 ∗ 𝑏 − 4 ∗ 𝑎 ∗ 𝑐)/ 𝐶 + 𝐻 i. Using a general register computer with 3 address constructions ii. Using a stack organized computer with zero address operation instructions.
given a matrix of size m×n with values ranges from 100 to 150 . write a C program to generate
0-1 Matrix based on threshold value of 125 . If the matrix element is greater than the threshold set the element to 1 else set the element to 0. print the input Matrix and generate the 0-1 Matrix (use function with 2D array and threshold as arguments)
Sample input:
Input matrix: 120 117 136
110 150 128
135 114 149
Sample output:
0 0 1
0 1 1
1 0 1
determine the cumulative sum of n floating point numbers read a new number into the computer during each call to recursive function
Sample input:
n=3
Enter the number:0.8
Enter the number:0.1
Enter the number:0.2
Sample output:
Cumulative sum=1.1
write a C program to convert the string "CEASER " to "HJFXJW "without using inbuilt function